@malloydata/malloy 0.0.119 → 0.0.120-dev240125201336
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -626,6 +626,9 @@ describe('unspported fields in schema', () => {
|
|
|
626
626
|
const uModel = new test_translator_1.TestTranslator('source: x is a extend { dimension: notUn is aun::string }');
|
|
627
627
|
expect(uModel).toTranslate();
|
|
628
628
|
});
|
|
629
|
+
test('negative numbers are not tokens', () => {
|
|
630
|
+
expect((0, test_translator_1.expr) `ai-1`).toTranslate();
|
|
631
|
+
});
|
|
629
632
|
describe('cast', () => {
|
|
630
633
|
// The "+ 1"s are there to make sure the result is of type 'number'
|
|
631
634
|
test('sql cast', () => {
|