@malloydata/malloy 0.0.56-dev230710205111 → 0.0.56-dev230710210430
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.
|
@@ -2969,6 +2969,16 @@ describe('sql expressions', () => {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
});
|
|
2971
2971
|
});
|
|
2972
|
+
describe('turtle with leading arrow', () => {
|
|
2973
|
+
test('optional leading arrow for defining a turtle', () => {
|
|
2974
|
+
expect(`
|
|
2975
|
+
source: c is a extend {
|
|
2976
|
+
query: x is -> { project: * }
|
|
2977
|
+
query: y is { project: * }
|
|
2978
|
+
}
|
|
2979
|
+
`).toTranslate();
|
|
2980
|
+
});
|
|
2981
|
+
});
|
|
2972
2982
|
describe('extend and refine', () => {
|
|
2973
2983
|
describe('extend and refine, new syntax', () => {
|
|
2974
2984
|
test('query name with query refinements', () => {
|