Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 13, 2024
1 parent 2cdff96 commit bd3af72
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import re

import pytest
Expand Down Expand Up @@ -48,8 +47,8 @@ def test_storage_layout_overrides_json():
out = compile_code(
code, output_formats=["layout"], storage_layout_override=storage_layout_overrides
)
assert compile_json(input_json)["contracts"]["contracts/foo.vy"]["foo"]["layout"] == json.dumps(
out["layout"]
assert (
compile_json(input_json)["contracts"]["contracts/foo.vy"]["foo"]["layout"] == out["layout"]
)


Expand Down

0 comments on commit bd3af72

Please sign in to comment.