Fossil SCM
Fixes to the 'json' test file.
Commit
e9def3b785a4d4f06e95b01fbe32762a83864a0dc5954e3882e53622981fca24
Parent
739dd489f1fc094…
1 file changed
+1
-1
+1
-1
| --- test/json.test | ||
| +++ test/json.test | ||
| @@ -55,11 +55,11 @@ | ||
| 55 | 55 | if {$JR eq ""} { |
| 56 | 56 | puts "Fossil was not compiled with JSON support (bad JSON)." |
| 57 | 57 | test_cleanup_then_return |
| 58 | 58 | } |
| 59 | 59 | test json-1 {[dict exists $JR resultCode] |
| 60 | - && [dict get $JR resultCode] eq "FOSSIL-4102"} | |
| 60 | + && [dict get $JR resultCode] in "FOSSIL-3002 FOSSIL-4102"} | |
| 61 | 61 | |
| 62 | 62 | # Use the CLI interface to execute a JSON command. Sets the global |
| 63 | 63 | # RESULT to the response text, and JR to a Tcl dict conversion of the |
| 64 | 64 | # response body. |
| 65 | 65 | # |
| 66 | 66 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -55,11 +55,11 @@ | |
| 55 | if {$JR eq ""} { |
| 56 | puts "Fossil was not compiled with JSON support (bad JSON)." |
| 57 | test_cleanup_then_return |
| 58 | } |
| 59 | test json-1 {[dict exists $JR resultCode] |
| 60 | && [dict get $JR resultCode] eq "FOSSIL-4102"} |
| 61 | |
| 62 | # Use the CLI interface to execute a JSON command. Sets the global |
| 63 | # RESULT to the response text, and JR to a Tcl dict conversion of the |
| 64 | # response body. |
| 65 | # |
| 66 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -55,11 +55,11 @@ | |
| 55 | if {$JR eq ""} { |
| 56 | puts "Fossil was not compiled with JSON support (bad JSON)." |
| 57 | test_cleanup_then_return |
| 58 | } |
| 59 | test json-1 {[dict exists $JR resultCode] |
| 60 | && [dict get $JR resultCode] in "FOSSIL-3002 FOSSIL-4102"} |
| 61 | |
| 62 | # Use the CLI interface to execute a JSON command. Sets the global |
| 63 | # RESULT to the response text, and JR to a Tcl dict conversion of the |
| 64 | # response body. |
| 65 | # |
| 66 |