Skip to content

Commit

Permalink
undo some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr committed Sep 27, 2023
1 parent 6b724b4 commit ddcac84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/tests/valid/struct_from_json.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ bring "./subdir/structs_2.w" as otherExternalStructs;

struct MyStruct {
m1: externalStructs.MyStruct;
m2: otherExternalStructs.MyStruct2;
m2: otherExternalStructs.MyStruct;
}

let jMyStruct = {
Expand Down Expand Up @@ -290,4 +290,4 @@ test "inflight schema usage" {
let s = MyStruct.schema();
s.validate(jMyStruct);
assert(schema.asStr() == Json.stringify(expectedSchema));
}
}
4 changes: 2 additions & 2 deletions examples/tests/valid/subdir/structs_2.w
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
struct MyStruct2 {
struct MyStruct {
val: str;
}
}

0 comments on commit ddcac84

Please sign in to comment.