Skip to content

Commit

Permalink
FileConventions: add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mersho committed Aug 17, 2023
1 parent 5c4900d commit b1cd909
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
namespace FooBuzz
15 changes: 15 additions & 0 deletions src/FileConventions.Test/FileConventions.Test.fs
Original file line number Diff line number Diff line change
Expand Up @@ -733,3 +733,18 @@ let NamespaceConvention6() =
))

Assert.That(NotFollowingNamespaceConvention fileInfo, Is.EqualTo false)


[<Test>]
let NamespaceConvention7() =
let fileInfo =
(FileInfo(
Path.Combine(
dummyFilesDirectory.FullName,
"src",
"Foo",
"DummyFileUnderFooWithWrongNamespace2.fs"
)
))

Assert.That(NotFollowingNamespaceConvention fileInfo, Is.EqualTo true)

0 comments on commit b1cd909

Please sign in to comment.