@malloydata/malloy-tests 0.0.224 → 0.0.225-dev241217223852

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.
package/package.json CHANGED
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@jest/globals": "^29.4.3",
24
- "@malloydata/db-bigquery": "^0.0.224",
25
- "@malloydata/db-duckdb": "^0.0.224",
26
- "@malloydata/db-postgres": "^0.0.224",
27
- "@malloydata/db-snowflake": "^0.0.224",
28
- "@malloydata/db-trino": "^0.0.224",
29
- "@malloydata/malloy": "^0.0.224",
30
- "@malloydata/render": "^0.0.224",
24
+ "@malloydata/db-bigquery": "^0.0.225-dev241217223852",
25
+ "@malloydata/db-duckdb": "^0.0.225-dev241217223852",
26
+ "@malloydata/db-postgres": "^0.0.225-dev241217223852",
27
+ "@malloydata/db-snowflake": "^0.0.225-dev241217223852",
28
+ "@malloydata/db-trino": "^0.0.225-dev241217223852",
29
+ "@malloydata/malloy": "^0.0.225-dev241217223852",
30
+ "@malloydata/render": "^0.0.225-dev241217223852",
31
31
  "events": "^3.3.0",
32
32
  "jsdom": "^22.1.0",
33
33
  "luxon": "^2.4.0",
@@ -37,5 +37,5 @@
37
37
  "@types/jsdom": "^21.1.1",
38
38
  "@types/luxon": "^2.4.0"
39
39
  },
40
- "version": "0.0.224"
40
+ "version": "0.0.225-dev241217223852"
41
41
  }
@@ -357,6 +357,16 @@ describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
357
357
  }
358
358
  );
359
359
 
360
+ it('uses the correct symbol for modulus, either % or MOD', async () => {
361
+ await expect(`
362
+ run: aircraft_models->{
363
+ group_by: mod_example is 10 % 4
364
+ }
365
+ `).malloyResultMatches(expressionModel, {
366
+ mod_example: 2,
367
+ });
368
+ });
369
+
360
370
  it('named query metadata undefined', async () => {
361
371
  const result = await expressionModel
362
372
  .loadQuery(