From e4e7eedc328cd869161a770403ca3deec5787f2c Mon Sep 17 00:00:00 2001 From: Jackie Yang Date: Fri, 10 Nov 2023 23:22:59 -0800 Subject: [PATCH] Fix test case and bump version --- lib/nl/__test__/nl-parser.test.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nl/__test__/nl-parser.test.ts b/lib/nl/__test__/nl-parser.test.ts index 2209453..d1cbeab 100644 --- a/lib/nl/__test__/nl-parser.test.ts +++ b/lib/nl/__test__/nl-parser.test.ts @@ -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]' ); }); diff --git a/package.json b/package.json index b7b9a12..8823749 100644 --- a/package.json +++ b/package.json @@ -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",