From 1b671ba8f6c802fa84a8beb3c1810be93ee6ee34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20G=C3=B6bel?= Date: Sat, 9 Dec 2023 23:09:14 +0100 Subject: [PATCH] Remove more AutoNumber tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #105 where apparently I missed a couple 🤦 --- src/results/tests.ts | 80 -------------------------------------------- 1 file changed, 80 deletions(-) diff --git a/src/results/tests.ts b/src/results/tests.ts index d788245..4b46d4b 100644 --- a/src/results/tests.ts +++ b/src/results/tests.ts @@ -1401,25 +1401,6 @@ export const specializationTests: Test[] = [ ], displayValues: ['123456789101112313/9123456789101112313'], }, - { - name: 'AutoNumber', - query: ` - def num = auto_number["a"] - def v(x) = num(_, x) - def output = #(v) - `, - typeDefs: [ - { - type: 'Constant', - value: { - type: 'AutoNumber', - value: 1n, - }, - }, - ], - values: [1n], - displayValues: ['1'], - }, { name: 'UUID', query: ` @@ -2584,34 +2565,6 @@ export const valueTypeTests: Test[] = [ ], displayValues: ['(:MyType, 1, 123456789101112313/9123456789101112313)'], }, - { - name: 'AutoNumber', - query: ` - def num = auto_number["a"] - def anum(x) = num(_, x) - value type MyType = Int, AutoNumber - def output = ^MyType[1, anum] - `, - typeDefs: [ - { - type: 'ValueType', - typeDefs: [ - { - type: 'Constant', - value: { type: 'String', value: ':MyType' }, - }, - { - type: 'Int64', - }, - { - type: 'AutoNumber', - }, - ], - }, - ], - values: [[':MyType', 1n, 1n]], - displayValues: ['(:MyType, 1, 1)'], - }, { name: 'UUID', query: ` @@ -4189,39 +4142,6 @@ export const valueTypeSpecializationTests: Test[] = [ ], displayValues: ['(:MyType, 123456789101112313/9123456789101112313, 1)'], }, - { - name: 'AutoNumber', - query: ` - def num = auto_number["a"] - def anum(x) = num(_, x) - value type MyType = AutoNumber, Int - def v = ^MyType[anum, 1] - def output = #(v) - `, - typeDefs: [ - { - type: 'Constant', - value: { - type: 'ValueType', - typeDefs: [ - { - type: 'Constant', - value: { type: 'String', value: ':MyType' }, - }, - { - type: 'AutoNumber', - }, - { - type: 'Int64', - }, - ], - value: [':MyType', 1n, 1n], - }, - }, - ], - values: [[':MyType', 1n, 1n]], - displayValues: ['(:MyType, 1, 1)'], - }, { name: 'UUID', query: `