@malloydata/malloy-tests 0.0.237-dev250223010918 → 0.0.237-dev250224203840

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.237-dev250223010918",
25
- "@malloydata/db-duckdb": "^0.0.237-dev250223010918",
26
- "@malloydata/db-postgres": "^0.0.237-dev250223010918",
27
- "@malloydata/db-snowflake": "^0.0.237-dev250223010918",
28
- "@malloydata/db-trino": "^0.0.237-dev250223010918",
29
- "@malloydata/malloy": "^0.0.237-dev250223010918",
30
- "@malloydata/render": "^0.0.237-dev250223010918",
24
+ "@malloydata/db-bigquery": "^0.0.237-dev250224203840",
25
+ "@malloydata/db-duckdb": "^0.0.237-dev250224203840",
26
+ "@malloydata/db-postgres": "^0.0.237-dev250224203840",
27
+ "@malloydata/db-snowflake": "^0.0.237-dev250224203840",
28
+ "@malloydata/db-trino": "^0.0.237-dev250224203840",
29
+ "@malloydata/malloy": "^0.0.237-dev250224203840",
30
+ "@malloydata/render": "^0.0.237-dev250224203840",
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.237-dev250223010918"
40
+ "version": "0.0.237-dev250224203840"
41
41
  }
@@ -754,6 +754,18 @@ describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
754
754
  dimension: satDay is 6
755
755
  }`,
756
756
  });
757
+ test('basic like', async () => {
758
+ const result = await sqlEq("'abz' ~ '%z'", true);
759
+ expect(result).isSqlEq();
760
+ });
761
+ test('basic like with string', async () => {
762
+ const result = await sqlEq("'%' ~ '\\\\%'", true);
763
+ expect(result).isSqlEq();
764
+ });
765
+ test('basic like with raw string', async () => {
766
+ const result = await sqlEq("'%' ~ s'\\%'", true);
767
+ expect(result).isSqlEq();
768
+ });
757
769
 
758
770
  describe.skip('alternations with not-eq', () => {
759
771
  /*