Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Jul 11, 2023
1 parent 0762130 commit 0d9664b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions testdata/cheats/Json.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,10 @@ contract ParseJson is DSTest {
keys = vm.parseJsonKeys(jsonString, ".some_key_to_object");
assertEq(abi.encode(keys), abi.encode(["key1", "key2"]));

vm.expectRevert(
"You can only get keys for JSON-object. The key '.some_key_to_array' does not return an object"
);
vm.expectRevert("You can only get keys for JSON-object. The key '.some_key_to_array' does not return an object");
vm.parseJsonKeys(jsonString, ".some_key_to_array");

vm.expectRevert(
"You can only get keys for JSON-object. The key '.some_key_to_value' does not return an object"
);
vm.expectRevert("You can only get keys for JSON-object. The key '.some_key_to_value' does not return an object");
vm.parseJsonKeys(jsonString, ".some_key_to_value");

vm.expectRevert(
Expand Down

0 comments on commit 0d9664b

Please sign in to comment.