From 3b6462223bb7ba524c1810fe4e32dcdd0b229d5f Mon Sep 17 00:00:00 2001 From: Lycs-D <139197676+Lycs-D@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:13:07 +0800 Subject: [PATCH] fix analyzer test --- src/tests/bench.v | 4 +- src/tests/documentation.v | 4 +- .../benchmarks/{checker.v => checker.vv} | 0 .../{inlay_hints.v => inlay_hints.vv} | 0 .../documentation/{rendered.v => rendered.vv} | 0 .../{rendered.v.md => rendered.vv.md} | 0 .../documentation/{stubs.v => stubs.vv} | 0 .../documentation/{stubs.v.md => stubs.vv.md} | 0 src/tests/types.v | 40 +++++++++---------- 9 files changed, 24 insertions(+), 24 deletions(-) rename src/tests/testdata/benchmarks/{checker.v => checker.vv} (100%) rename src/tests/testdata/benchmarks/{inlay_hints.v => inlay_hints.vv} (100%) rename src/tests/testdata/documentation/{rendered.v => rendered.vv} (100%) rename src/tests/testdata/documentation/{rendered.v.md => rendered.vv.md} (100%) rename src/tests/testdata/documentation/{stubs.v => stubs.vv} (100%) rename src/tests/testdata/documentation/{stubs.v.md => stubs.vv.md} (100%) diff --git a/src/tests/bench.v b/src/tests/bench.v index e3b17502..c85b4a53 100644 --- a/src/tests/bench.v +++ b/src/tests/bench.v @@ -8,7 +8,7 @@ fn bench() testing.BenchmarkRunner { } b.bench('inlay hints', fn (mut b testing.Benchmark, mut fixture testing.Fixture) ! { - fixture.configure_by_file('benchmarks/checker.v')! + fixture.configure_by_file('benchmarks/inlay_hints.vv')! b.start() @@ -20,7 +20,7 @@ fn bench() testing.BenchmarkRunner { }) b.bench('semantic tokens', fn (mut b testing.Benchmark, mut fixture testing.Fixture) ! { - fixture.configure_by_file('benchmarks/checker.v')! + fixture.configure_by_file('benchmarks/checker.vv')! b.start() diff --git a/src/tests/documentation.v b/src/tests/documentation.v index a867b712..127331fa 100644 --- a/src/tests/documentation.v +++ b/src/tests/documentation.v @@ -5,8 +5,8 @@ import testing fn documentation() testing.Tester { mut t := testing.with_name('documentation') - t.documentation_test('rendered', 'documentation/rendered.v') - t.documentation_test('stubs', 'documentation/stubs.v') + t.documentation_test('rendered', 'documentation/rendered.vv') + t.documentation_test('stubs', 'documentation/stubs.vv') return t } diff --git a/src/tests/testdata/benchmarks/checker.v b/src/tests/testdata/benchmarks/checker.vv similarity index 100% rename from src/tests/testdata/benchmarks/checker.v rename to src/tests/testdata/benchmarks/checker.vv diff --git a/src/tests/testdata/benchmarks/inlay_hints.v b/src/tests/testdata/benchmarks/inlay_hints.vv similarity index 100% rename from src/tests/testdata/benchmarks/inlay_hints.v rename to src/tests/testdata/benchmarks/inlay_hints.vv diff --git a/src/tests/testdata/documentation/rendered.v b/src/tests/testdata/documentation/rendered.vv similarity index 100% rename from src/tests/testdata/documentation/rendered.v rename to src/tests/testdata/documentation/rendered.vv diff --git a/src/tests/testdata/documentation/rendered.v.md b/src/tests/testdata/documentation/rendered.vv.md similarity index 100% rename from src/tests/testdata/documentation/rendered.v.md rename to src/tests/testdata/documentation/rendered.vv.md diff --git a/src/tests/testdata/documentation/stubs.v b/src/tests/testdata/documentation/stubs.vv similarity index 100% rename from src/tests/testdata/documentation/stubs.v rename to src/tests/testdata/documentation/stubs.vv diff --git a/src/tests/testdata/documentation/stubs.v.md b/src/tests/testdata/documentation/stubs.vv.md similarity index 100% rename from src/tests/testdata/documentation/stubs.v.md rename to src/tests/testdata/documentation/stubs.vv.md diff --git a/src/tests/types.v b/src/tests/types.v index 04dffeef..6508a683 100644 --- a/src/tests/types.v +++ b/src/tests/types.v @@ -5,26 +5,26 @@ import testing fn types() testing.Tester { mut t := testing.with_name('types') - t.type_test('literals', 'types/literals.v') - t.type_test('parameters types', 'types/parameters.v') - t.type_test('call expressions', 'types/call_expression.v') - t.type_test('type initializer', 'types/type_initializer.v') - t.type_test('for loops', 'types/for_loops.v') - t.type_test('slice and index expression', 'types/slice_and_index_expression.v') - t.type_test('function literal', 'types/function_literal.v') - t.type_test('pointers', 'types/pointers.v') - t.type_test('bool operators', 'types/bool_operators.v') - t.type_test('unsafe expression', 'types/unsafe_expression.v') - t.type_test('if expression', 'types/if_expression.v') - t.type_test('match expression', 'types/match_expression.v') - t.type_test('map init expression', 'types/map_init_expression.v') - t.type_test('chan type', 'types/chan_type.v') - t.type_test('struct fields', 'types/fields.v') - t.type_test('receiver', 'types/receiver.v') - t.type_test('json decode', 'types/json_decode.v') - t.type_test('generics', 'types/generics.v') - t.type_test('constants', 'types/constants.v') - t.type_test('for loop', 'types/for_loop.v') + t.type_test('literals', 'types/literals.vv') + t.type_test('parameters types', 'types/parameters.vv') + t.type_test('call expressions', 'types/call_expression.vv') + t.type_test('type initializer', 'types/type_initializer.vv') + t.type_test('for loops', 'types/for_loops.vv') + t.type_test('slice and index expression', 'types/slice_and_index_expression.vv') + t.type_test('function literal', 'types/function_literal.vv') + t.type_test('pointers', 'types/pointers.vv') + t.type_test('bool operators', 'types/bool_operators.vv') + t.type_test('unsafe expression', 'types/unsafe_expression.vv') + t.type_test('if expression', 'types/if_expression.vv') + t.type_test('match expression', 'types/match_expression.vv') + t.type_test('map init expression', 'types/map_init_expression.vv') + t.type_test('chan type', 'types/chan_type.vv') + t.type_test('struct fields', 'types/fields.vv') + t.type_test('receiver', 'types/receiver.vv') + t.type_test('json decode', 'types/json_decode.vv') + t.type_test('generics', 'types/generics.vv') + t.type_test('constants', 'types/constants.vv') + t.type_test('for loop', 'types/for_loop.vv') return t }