File: testdata.patch

package info (click to toggle)
golang-github-xeipuuv-gojsonschema 0.0~git20170210.0.6b67b3f-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,932 kB
  • ctags: 354
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Last-Update: 2016-03-23
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: set path to test data.

--- a/schema_test.go
+++ b/schema_test.go
@@ -348,9 +348,9 @@
 	if err != nil {
 		panic(err.Error())
 	}
 
-	testwd := wd + "/json_schema_test_suite"
+	testwd := wd + "/../../../../../json_schema_test_suite"
 
 	go func() {
 		err := http.ListenAndServe(":1234", http.FileServer(http.Dir(testwd+"/refRemote/remoteFiles")))
 		if err != nil {