Skip to content

Commit

Permalink
update for changes to type-checking branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldickens committed Jul 22, 2024
1 parent 862f6d7 commit 0865846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/squiggle-lang/__tests__/ast/parse_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ describe("Peggy parse", () => {
);
testParse(
"x :: 1 / kg = 1",
"(Program (LetStatement :x (UnitTypeSignature (InfixUnitType / 1 :kg)) 1))"
"(Program (LetStatement :x (UnitTypeSignature (InfixUnitType / 1 :kg)) 1 (Decorator :unitType '1 / kg')))"
);
testParse(
"x :: 1 = 2",
"(Program (LetStatement :x (UnitTypeSignature 1) 2))"
"(Program (LetStatement :x (UnitTypeSignature 1) 2 (Decorator :unitType '1')))"
);
testParse(
"x :: kg*m/s = 1",
Expand Down

0 comments on commit 0865846

Please sign in to comment.