mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05: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