mirror of
https://github.com/bitwarden/server
synced 2025-12-24 04:03:25 +00:00
Revert filescoped (#2227)
* Revert "Add git blame entry (#2226)" This reverts commit239286737d. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit34fb4cca2a.
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
using Xunit;
|
||||
|
||||
namespace Bit.Icons.Test.Resources;
|
||||
|
||||
public class VerifyResources
|
||||
namespace Bit.Icons.Test.Resources
|
||||
{
|
||||
[Theory]
|
||||
[InlineData("Bit.Icons.Resources.public_suffix_list.dat")]
|
||||
public void Resources_FoundAndReadable(string resourceName)
|
||||
public class VerifyResources
|
||||
{
|
||||
var assembly = typeof(Program).Assembly;
|
||||
|
||||
using (var resource = assembly.GetManifestResourceStream(resourceName))
|
||||
[Theory]
|
||||
[InlineData("Bit.Icons.Resources.public_suffix_list.dat")]
|
||||
public void Resources_FoundAndReadable(string resourceName)
|
||||
{
|
||||
Assert.NotNull(resource);
|
||||
Assert.True(resource.CanRead);
|
||||
var assembly = typeof(Program).Assembly;
|
||||
|
||||
using (var resource = assembly.GetManifestResourceStream(resourceName))
|
||||
{
|
||||
Assert.NotNull(resource);
|
||||
Assert.True(resource.CanRead);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user