From 28ab873a3fc973d3fec36cf9954b75f5f75387e4 Mon Sep 17 00:00:00 2001 From: DarkMatter-999 Date: Fri, 3 Oct 2025 13:00:09 +0530 Subject: [PATCH] tests: add syntax tests for go.mod and go.sum --- tests/syntax-tests/highlighted/Go/go.mod | 5 +++++ tests/syntax-tests/highlighted/Go/go.sum | 6 ++++++ tests/syntax-tests/source/Go/go.mod | 5 +++++ tests/syntax-tests/source/Go/go.sum | 6 ++++++ 4 files changed, 22 insertions(+) create mode 100644 tests/syntax-tests/highlighted/Go/go.mod create mode 100644 tests/syntax-tests/highlighted/Go/go.sum create mode 100644 tests/syntax-tests/source/Go/go.mod create mode 100644 tests/syntax-tests/source/Go/go.sum diff --git a/tests/syntax-tests/highlighted/Go/go.mod b/tests/syntax-tests/highlighted/Go/go.mod new file mode 100644 index 00000000..0af0c671 --- /dev/null +++ b/tests/syntax-tests/highlighted/Go/go.mod @@ -0,0 +1,5 @@ +module hugeparam + +go 1.25.1 + +require golang.org/x/tools v0.37.0 diff --git a/tests/syntax-tests/highlighted/Go/go.sum b/tests/syntax-tests/highlighted/Go/go.sum new file mode 100644 index 00000000..c64fd034 --- /dev/null +++ b/tests/syntax-tests/highlighted/Go/go.sum @@ -0,0 +1,6 @@ +golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U= +golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI= +golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug= +golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= +golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE= +golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w= diff --git a/tests/syntax-tests/source/Go/go.mod b/tests/syntax-tests/source/Go/go.mod new file mode 100644 index 00000000..9f229ef3 --- /dev/null +++ b/tests/syntax-tests/source/Go/go.mod @@ -0,0 +1,5 @@ +module hugeparam + +go 1.25.1 + +require golang.org/x/tools v0.37.0 diff --git a/tests/syntax-tests/source/Go/go.sum b/tests/syntax-tests/source/Go/go.sum new file mode 100644 index 00000000..f04bc1a7 --- /dev/null +++ b/tests/syntax-tests/source/Go/go.sum @@ -0,0 +1,6 @@ +golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U= +golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI= +golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug= +golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= +golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE= +golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w=