Skip to content

Commit 99ce123

Browse files
committed
tests: yet another lib heuristic unit test
This one should have been the first one.
1 parent f8e272e commit 99ce123

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/FSharpLint.Core.Tests/Rules/Smells/NoAsyncRunSynchronouslyInLibrary.fs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ let Foo() =
135135
[<TestFixture>]
136136
type TestNoAsyncRunSynchronouslyInLibraryHeuristic() =
137137

138+
[<Test>]
139+
member this.``Unlikely to be library if contains "tests" in name``() =
140+
Assert.AreEqual(
141+
LibraryHeuristicResultByProjectName.Unlikely,
142+
howLikelyProjectIsLibrary "IntegrationTests"
143+
)
144+
138145
[<Test>]
139146
member this.``Unlikely to be library if contains "test" in name``() =
140147
Assert.AreEqual(

0 commit comments

Comments
 (0)