7 references to _error
Microsoft.DotNet.Open.Api.Tools.Tests (7)
OpenApiAddFileTests.cs (2)
33Assert.Contains("No project files were found in the current directory", _error.ToString()); 45Assert.Contains($"The project '{Path.Combine(_tempDir.Root, csproj)}' does not exist.", _error.ToString());
OpenApiAddURLTests.cs (2)
369Assert.True(_error.ToString().Contains("Aborting to avoid conflicts."), "Should have aborted to avoid conflicts"); 427"indicating failure. The url might be wrong, or there might be a networking issue." + Environment.NewLine, _error.ToString());
OpenApiTestBase.cs (3)
87_tempDir.Root, wrapper, _output, _error); 111Assert.True(string.IsNullOrEmpty(_error.ToString()), $"Threw error: {_error}");