From 0156630bedd9b09ab79749ea117a02e60c28668a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 2 Apr 2026 07:17:13 +0300 Subject: [PATCH] tests: update expected number of tests --- .github/workflows/db_ci.yml | 2 +- vlib/v/fmt/tests/attr_call_syntax_keep.vv | 11 +++-------- vlib/v/generics/new_generics_regression_test.v | 4 ++-- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/db_ci.yml b/.github/workflows/db_ci.yml index 813d41137..e00c6b601 100644 --- a/.github/workflows/db_ci.yml +++ b/.github/workflows/db_ci.yml @@ -118,5 +118,5 @@ jobs: exit 1 - name: Run mssql driver tests env: - VMSSQL_CONN_STR: "Driver={${{ steps.odbc.outputs.name }}};Server=127.0.0.1;Port=1433;UID=sa;PWD=Vlang12345678!;Database=master;TDS_Version=7.4;ClientCharset=UTF-8" + VMSSQL_CONN_STR: 'Driver={${{ steps.odbc.outputs.name }}};Server=127.0.0.1;Port=1433;UID=sa;PWD=Vlang12345678!;Database=master;TDS_Version=7.4;ClientCharset=UTF-8' run: ./v -d network -d started_mssql -silent test vlib/db/mssql/ diff --git a/vlib/v/fmt/tests/attr_call_syntax_keep.vv b/vlib/v/fmt/tests/attr_call_syntax_keep.vv index a34ada69e..e54b4b46f 100644 --- a/vlib/v/fmt/tests/attr_call_syntax_keep.vv +++ b/vlib/v/fmt/tests/attr_call_syntax_keep.vv @@ -1,15 +1,10 @@ module main -@[ - xml( - name: 'foo', - prefix: 'f', - namespace: 'https://example.com/xmlns/foo' - ) -] +@[xml(name: 'foo', prefix: 'f', namespace: 'https://example.com/xmlns/foo')] struct Foo {} -@[deprecated(msg: 'use foo_v2() instead', after: '2026-06-01'); inline] +@[deprecated(msg: 'use foo_v2() instead', after: '2026-06-01')] +@[inline] fn foo() {} @[deprecated('use bar_v2() instead', after: '2026-06-02')] diff --git a/vlib/v/generics/new_generics_regression_test.v b/vlib/v/generics/new_generics_regression_test.v index 1e465ff7d..bbe601536 100644 --- a/vlib/v/generics/new_generics_regression_test.v +++ b/vlib/v/generics/new_generics_regression_test.v @@ -79,8 +79,8 @@ fn run_new_generic_solver_tests(root_label string, test_cmd string, expected_sum println('') } -const expected_summsvc_generics = 'Summary for all V _test.v files: 55 failed, 212 passed, 267 total.' -const expected_summary_generics = 'Summary for all V _test.v files: 54 failed, 213 passed, 267 total.' +const expected_summsvc_generics = 'Summary for all V _test.v files: 55 failed, 213 passed, 268 total.' +const expected_summary_generics = 'Summary for all V _test.v files: 54 failed, 214 passed, 268 total.' const expected_summsvc_vec = 'Summary for all V _test.v files: 3 failed, 3 total.' const expected_summary_vec = 'Summary for all V _test.v files: 3 failed, 3 total.' const expected_summsvc_flag = 'Summary for all V _test.v files: 14 failed, 5 passed, 19 total.' -- 2.39.5