Fossil SCM
In json.test, json-cap-POSTenv-name now passes so remove knownBug
Commit
3e3fb37a283678827dfede77bd8e2028b7768b1ad0b575db16a9e91080f4ca49
Parent
008fb003c2af285…
1 file changed
+1
-1
+1
-1
| --- test/json.test | ||
| +++ test/json.test | ||
| @@ -324,11 +324,11 @@ | ||
| 324 | 324 | set anon2 [read_file anon-2] |
| 325 | 325 | fossil_post_json "/json/cap" $anon2 |
| 326 | 326 | test json-cap-POSTenv-env-0 {[string length $JR] > 0} |
| 327 | 327 | test_json_envelope_ok json-cap-POSTenv-env |
| 328 | 328 | if {[catch {test json-cap-POSTenv-name \ |
| 329 | - {[dict get $JR payload name] eq "anonymous"} knownBug} jerr]} then { | |
| 329 | + {[dict get $JR payload name] eq "anonymous"}} jerr]} then { | |
| 330 | 330 | test json-cap-POSTenv-name-threw 0 |
| 331 | 331 | protOut "CAUGHT: $jerr" |
| 332 | 332 | } |
| 333 | 333 | test json-cap-POSTenv-notsetup {![dict get $JR payload permissionFlags setup]} |
| 334 | 334 | |
| 335 | 335 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -324,11 +324,11 @@ | |
| 324 | set anon2 [read_file anon-2] |
| 325 | fossil_post_json "/json/cap" $anon2 |
| 326 | test json-cap-POSTenv-env-0 {[string length $JR] > 0} |
| 327 | test_json_envelope_ok json-cap-POSTenv-env |
| 328 | if {[catch {test json-cap-POSTenv-name \ |
| 329 | {[dict get $JR payload name] eq "anonymous"} knownBug} jerr]} then { |
| 330 | test json-cap-POSTenv-name-threw 0 |
| 331 | protOut "CAUGHT: $jerr" |
| 332 | } |
| 333 | test json-cap-POSTenv-notsetup {![dict get $JR payload permissionFlags setup]} |
| 334 | |
| 335 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -324,11 +324,11 @@ | |
| 324 | set anon2 [read_file anon-2] |
| 325 | fossil_post_json "/json/cap" $anon2 |
| 326 | test json-cap-POSTenv-env-0 {[string length $JR] > 0} |
| 327 | test_json_envelope_ok json-cap-POSTenv-env |
| 328 | if {[catch {test json-cap-POSTenv-name \ |
| 329 | {[dict get $JR payload name] eq "anonymous"}} jerr]} then { |
| 330 | test json-cap-POSTenv-name-threw 0 |
| 331 | protOut "CAUGHT: $jerr" |
| 332 | } |
| 333 | test json-cap-POSTenv-notsetup {![dict get $JR payload permissionFlags setup]} |
| 334 | |
| 335 |