From 410771369a7cfb818b105a7d0f4ea4a6e13ec2d2 Mon Sep 17 00:00:00 2001 From: Springcomp Date: Sun, 1 Mar 2026 10:43:24 +0100 Subject: [PATCH 1/2] fixed incorrect internals visible access --- .github/workflows/build.yaml | 2 +- src/jmespath.net.parser/InternalsVisibleTo.cs | 4 ---- src/jmespath.net/InternalsVisibleTo.cs | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 93283079..819cbb86 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,7 +25,7 @@ jobs: run: dotnet restore jmespath.net.sln - name: 🔨 Build - run: dotnet build jmespath.net.sln --configuration Release --no-restore + run: dotnet build jmespath.net.sln --configuration Debug --no-restore - name: 🧪 Run Unit Tests run: dotnet test tests/jmespathnet.tests/jmespathnet.tests.csproj --no-build --verbosity normal diff --git a/src/jmespath.net.parser/InternalsVisibleTo.cs b/src/jmespath.net.parser/InternalsVisibleTo.cs index cf21c9cd..01b8a10a 100644 --- a/src/jmespath.net.parser/InternalsVisibleTo.cs +++ b/src/jmespath.net.parser/InternalsVisibleTo.cs @@ -1,7 +1,3 @@ using System.Runtime.CompilerServices; -#if DEBUG [assembly: InternalsVisibleTo("jmespathnet.tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100055796df0ae0f975fabb3455d92c9edfef1e266fe66273a7f42c298406335fef71fdf99f46033f5f1e890fa2c6a5f230bfdd5832aa16eb45af02ad70ff716f97a51ff955abaaa2490da59ece7f2474dd43695c6bc8f1c82d1bb38f166fdfa7716e11291bda347bc8689d5435e68401a9ab5b4e8e49c1074173d21edf4fbda1b1")] -#else -[assembly: InternalsVisibleTo("jmespathnet.tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010055709b8bb177721db5eb5a9e7437bfa5f46251aef5dcf91f4a36a7dcb98e51a8ecf5a37284004fa6694f3471f5dfc82244c9672eb085cd65c7cb75d8251aa971a349d4641b492ca0963b74fd9878a5872d6ccbb7b7ceff82aa3687c240a70b4d5565c7cff5df0a12cdbde58e937320fb302b7ccedff72008f3bec0bee8384dc5")] -#endif \ No newline at end of file diff --git a/src/jmespath.net/InternalsVisibleTo.cs b/src/jmespath.net/InternalsVisibleTo.cs index cf21c9cd..01b8a10a 100644 --- a/src/jmespath.net/InternalsVisibleTo.cs +++ b/src/jmespath.net/InternalsVisibleTo.cs @@ -1,7 +1,3 @@ using System.Runtime.CompilerServices; -#if DEBUG [assembly: InternalsVisibleTo("jmespathnet.tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100055796df0ae0f975fabb3455d92c9edfef1e266fe66273a7f42c298406335fef71fdf99f46033f5f1e890fa2c6a5f230bfdd5832aa16eb45af02ad70ff716f97a51ff955abaaa2490da59ece7f2474dd43695c6bc8f1c82d1bb38f166fdfa7716e11291bda347bc8689d5435e68401a9ab5b4e8e49c1074173d21edf4fbda1b1")] -#else -[assembly: InternalsVisibleTo("jmespathnet.tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010055709b8bb177721db5eb5a9e7437bfa5f46251aef5dcf91f4a36a7dcb98e51a8ecf5a37284004fa6694f3471f5dfc82244c9672eb085cd65c7cb75d8251aa971a349d4641b492ca0963b74fd9878a5872d6ccbb7b7ceff82aa3687c240a70b4d5565c7cff5df0a12cdbde58e937320fb302b7ccedff72008f3bec0bee8384dc5")] -#endif \ No newline at end of file From 79142661b66c309ea1538c010c4a85ef5b894199 Mon Sep 17 00:00:00 2001 From: Springcomp Date: Sun, 1 Mar 2026 10:55:27 +0100 Subject: [PATCH 2/2] fixed compliance tests path --- .github/workflows/build.yaml | 2 +- tests/jmespathnet.tests/jmespathnet.tests.csproj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 819cbb86..846eca0b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,4 +31,4 @@ jobs: run: dotnet test tests/jmespathnet.tests/jmespathnet.tests.csproj --no-build --verbosity normal - name: ✅ Run Compliance Tests - run: dotnet run --project tools/jmespathnet.compliance/jpnet.csproj --no-build + run: dotnet run --project tools/jmespathnet.compliance/jmespathnet.compliance.csproj --no-build -t tools/jmespathnet.compliance/jmespath.test/tests/ diff --git a/tests/jmespathnet.tests/jmespathnet.tests.csproj b/tests/jmespathnet.tests/jmespathnet.tests.csproj index a09f4641..1afe0526 100644 --- a/tests/jmespathnet.tests/jmespathnet.tests.csproj +++ b/tests/jmespathnet.tests/jmespathnet.tests.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1;net452;net6.0 + net452;net6.0 jmespathnet.tests jmespathnet.tests true @@ -17,7 +17,7 @@ - + @@ -29,4 +29,4 @@ - \ No newline at end of file +