Skip to content

tests: don't use deprecated rel:base #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/results/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,6 @@ export const specializationTests: Test[] = [
{
name: 'UUID',
query: `
with rel:base use uuid_from_string
def v = uuid_from_string["22b4a8a1-e548-4eeb-9270-60426d66a48e"]
def output = #(v)
`,
Expand All @@ -1423,7 +1422,6 @@ export const specializationTests: Test[] = [
{
name: 'SHA1',
query: `
with rel:base use ^SHA1
def v = ^SHA1[0x0d7d4a744fd92effd1ed88e48ac8231e, 0x7f7e9e6c]
def output = #(v)
`,
Expand Down Expand Up @@ -2568,7 +2566,6 @@ export const valueTypeTests: Test[] = [
{
name: 'UUID',
query: `
with rel:base use uuid_from_string, UUID
def uuid = uuid_from_string["22b4a8a1-e548-4eeb-9270-60426d66a48e"]
value type MyType = Int, UUID
def output = ^MyType[1, uuid]
Expand Down Expand Up @@ -2596,7 +2593,6 @@ export const valueTypeTests: Test[] = [
{
name: 'SHA1',
query: `
with rel:base use ^SHA1, SHA1
def sha1 = ^SHA1[0x0d7d4a744fd92effd1ed88e48ac8231e, 0x7f7e9e6c]
value type MyType = Int, SHA1
def output = ^MyType[1, sha1]
Expand Down Expand Up @@ -4145,7 +4141,6 @@ export const valueTypeSpecializationTests: Test[] = [
{
name: 'UUID',
query: `
with rel:base use uuid_from_string, UUID
def uuid = uuid_from_string["22b4a8a1-e548-4eeb-9270-60426d66a48e"]
value type MyType = UUID, Int
def v = ^MyType[uuid, 1]
Expand Down Expand Up @@ -4178,7 +4173,6 @@ export const valueTypeSpecializationTests: Test[] = [
{
name: 'SHA1',
query: `
with rel:base use ^SHA1, SHA1
def sha1 = ^SHA1[0x0d7d4a744fd92effd1ed88e48ac8231e, 0x7f7e9e6c]
value type MyType = SHA1, Int
def v = ^MyType[sha1, 1]
Expand Down
Loading