Codebase list golang-github-jaytaylor-html2text / c1be6d0
Added patch to support test data. Michael Lustfield 6 years ago
3 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 * New upstream release.
33 * Added new build dependencies.
4 * Added patch to support test data.
45
56 -- Michael Lustfield <michael@lustfield.net> Mon, 17 Jul 2017 19:59:04 -0500
67
0 Description: Update text fixture paths
1 dh compiles the package in a arch-specific directory which causes
2 errors in dh_auto_test. This patch updates the paths for text fixtures
3 to allow the tests to run correctly.
4 Author: Michael Lustfield <michael@lustfield.net>
5 Forwarded: not-needed
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 --- a/html2text_test.go
9 +++ b/html2text_test.go
10 @@ -11,7 +11,7 @@
11 "testing"
12 )
13
14 -const destPath = "testdata"
15 +const destPath = "../../../../../testdata"
16
17 // EnableExtraLogging turns on additional testing log output.
18 // Extra test logging can be enabled by setting the environment variable
0 0001-update-test-fixture-paths.patch