Skip to content

Commit

Permalink
Fix test case and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
valkjsaaa committed Nov 11, 2023
1 parent 2dffe46 commit e4e7eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nl/__test__/nl-parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('Parser basics', async () => {
'get me the cheapest restaurant in palo alto'
);
return expect(parsed).toBe(
'Restaurant.all().matching(field: .address, value: "palo alto").sort(field: .price, ascending: true)[0]'
'Restaurant.all().matching(field: .address, value: "palo alto").sort(field: .priceGrade, ascending: true)[0]'
);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactgenie-dsl",
"version": "0.0.35",
"version": "0.0.36",
"description": "A natural language parser based on a large language model",
"scripts": {
"prepare": "peggy lib/dsl/parser.pegjs -o lib/dsl/parser.gen.js && tsc",
Expand Down

0 comments on commit e4e7eed

Please sign in to comment.