File: test--TestJsonSchemaTestSuite.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 (19 lines) | stat: -rw-r--r-- 786 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Last-Update: 2016-07-14
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830678
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: disable test than relies on network.

--- a/schema_test.go
+++ b/schema_test.go
@@ -54,9 +54,9 @@
 	return rxInvoice.MatchString(input)
 }
 
 func TestJsonSchemaTestSuite(t *testing.T) {
-
+t.Skip("DM-disabled");
 	JsonSchemaTestSuiteMap := []map[string]string{
 
 		{"phase": "integer type matches integers", "test": "an integer is an integer", "schema": "type/schema_0.json", "data": "type/data_00.json", "valid": "true"},
 		{"phase": "integer type matches integers", "test": "a float is not an integer", "schema": "type/schema_0.json", "data": "type/data_01.json", "valid": "false", "errors": "invalid_type"},