From 8b7ec82de8037b8dd5ef013ad77ba8c82e14ff32 Mon Sep 17 00:00:00 2001 From: Shargon Date: Mon, 10 Feb 2020 16:15:38 +0100 Subject: [PATCH 1/2] Fix dotnet format --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f53a6b53f2..a4b5d0a845 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: dotnet-version: ${{ env.DOTNET_VERSION }} - name: Check format run: | - dotnet tool install --tool-path ./ dotnet-format + dotnet tool install --version 3.2.111002 --tool-path ./ dotnet-format --add-source https://dotnet.myget.org/F/format/api/v3/index.json ./dotnet-format --check --dry-run -v diagnostic - name: Test run: | From cc3b8c9bde5689370854a66e85570aa23b4fd816 Mon Sep 17 00:00:00 2001 From: Shargon Date: Mon, 10 Feb 2020 16:23:50 +0100 Subject: [PATCH 2/2] format --- tests/neo.UnitTests/IO/UT_ByteArrayComparer.cs | 2 +- tests/neo.UnitTests/Ledger/UT_HashIndexState.cs | 2 +- tests/neo.UnitTests/Ledger/UT_HeaderHashList.cs | 2 +- tests/neo.UnitTests/Ledger/UT_TransactionState.cs | 2 +- .../SmartContract/Manifest/UT_ContractEventDescriptor.cs | 2 +- .../SmartContract/Manifest/UT_ContractPermissionDescriptor.cs | 2 +- .../SmartContract/Manifest/UT_WildCardContainer.cs | 2 +- tests/neo.UnitTests/SmartContract/UT_NefFile.cs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/neo.UnitTests/IO/UT_ByteArrayComparer.cs b/tests/neo.UnitTests/IO/UT_ByteArrayComparer.cs index dab1adcd8b..562e2b6f6e 100644 --- a/tests/neo.UnitTests/IO/UT_ByteArrayComparer.cs +++ b/tests/neo.UnitTests/IO/UT_ByteArrayComparer.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; diff --git a/tests/neo.UnitTests/Ledger/UT_HashIndexState.cs b/tests/neo.UnitTests/Ledger/UT_HashIndexState.cs index bfc85479dd..b7a0de93c8 100644 --- a/tests/neo.UnitTests/Ledger/UT_HashIndexState.cs +++ b/tests/neo.UnitTests/Ledger/UT_HashIndexState.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.Ledger; diff --git a/tests/neo.UnitTests/Ledger/UT_HeaderHashList.cs b/tests/neo.UnitTests/Ledger/UT_HeaderHashList.cs index 2f198f4c6c..482c620a00 100644 --- a/tests/neo.UnitTests/Ledger/UT_HeaderHashList.cs +++ b/tests/neo.UnitTests/Ledger/UT_HeaderHashList.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.Ledger; diff --git a/tests/neo.UnitTests/Ledger/UT_TransactionState.cs b/tests/neo.UnitTests/Ledger/UT_TransactionState.cs index 7abf431849..11ef772556 100644 --- a/tests/neo.UnitTests/Ledger/UT_TransactionState.cs +++ b/tests/neo.UnitTests/Ledger/UT_TransactionState.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.Ledger; diff --git a/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractEventDescriptor.cs b/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractEventDescriptor.cs index abbc4af5a0..a829354e34 100644 --- a/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractEventDescriptor.cs +++ b/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractEventDescriptor.cs @@ -1,4 +1,4 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.SmartContract.Manifest; namespace Neo.UnitTests.SmartContract.Manifest diff --git a/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermissionDescriptor.cs b/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermissionDescriptor.cs index 299ff2e49d..972911b296 100644 --- a/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermissionDescriptor.cs +++ b/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermissionDescriptor.cs @@ -1,4 +1,4 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.SmartContract.Manifest; using Neo.Wallets; using System.Security.Cryptography; diff --git a/tests/neo.UnitTests/SmartContract/Manifest/UT_WildCardContainer.cs b/tests/neo.UnitTests/SmartContract/Manifest/UT_WildCardContainer.cs index 9a6743e4a5..f983d65f09 100644 --- a/tests/neo.UnitTests/SmartContract/Manifest/UT_WildCardContainer.cs +++ b/tests/neo.UnitTests/SmartContract/Manifest/UT_WildCardContainer.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO.Json; using Neo.SmartContract.Manifest; diff --git a/tests/neo.UnitTests/SmartContract/UT_NefFile.cs b/tests/neo.UnitTests/SmartContract/UT_NefFile.cs index 23d8040c79..36a988d8b8 100644 --- a/tests/neo.UnitTests/SmartContract/UT_NefFile.cs +++ b/tests/neo.UnitTests/SmartContract/UT_NefFile.cs @@ -1,4 +1,4 @@ -using FluentAssertions; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.SmartContract;