We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c2768 commit f45335bCopy full SHA for f45335b
test/OpenApiTests/LegacyOpenApi/LegacyTests.cs
@@ -1,4 +1,5 @@
1
using System.Reflection;
2
+using System.Resources;
3
using System.Text.Json;
4
using FluentAssertions;
5
using TestBuildingBlocks;
@@ -39,7 +40,8 @@ private async Task<string> GetExpectedSwaggerDocumentAsync()
39
40
41
if (stream == null)
42
{
- throw new Exception($"Failed to load embedded resource '{embeddedResourceName}'. Set Build Action to Embedded Resource in properties.");
43
+ throw new MissingManifestResourceException(
44
+ $"Failed to load embedded resource '{embeddedResourceName}'. Set Build Action to Embedded Resource in properties.");
45
}
46
47
using var reader = new StreamReader(stream);
0 commit comments