Removed nonexisting flag in workflow

- Moved shell instance as a global field
This commit is contained in:
Tony Bark 2023-01-07 14:47:52 -05:00
parent c10e753c39
commit 5888771e20
3 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: dotnet restore src/Tomas.Terminal run: dotnet restore src/Tomas.Terminal
- name: Build - name: Build
run: dotnet build src/Tomas.Terminal -c Release --no-restore run: dotnet build src/Tomas.Terminal -c Release --no-restore --nologo
test: test:
timeout-minutes: 15 timeout-minutes: 15
@ -44,6 +44,6 @@ jobs:
with: with:
dotnet-version: ${{ matrix.dotnet }} dotnet-version: ${{ matrix.dotnet }}
- name: Install test dependencies - name: Install test dependencies
run: dotnet restore src/Tomas.Tests run: dotnet restore src/Tomas.Tests
- name: Test - name: Test
run: dotnet test src --no-restore --debug run: dotnet test src --no-restore --nologo

View file

@ -16,7 +16,7 @@ public class ShellTests
[Fact] [Fact]
public void ProgramTest() public void ProgramTest()
{ {
// Create a mock program // Create a mock program instance
var program = new MockProgram(); var program = new MockProgram();
// Assert that the Run method of the program and returns true when passed the shell object. // Assert that the Run method of the program and returns true when passed the shell object.