Skip to content

Commit 4b1bee0

Browse files
committed
Tests(Core): fix selfCheck
1 parent c18ce72 commit 4b1bee0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/FSharpLint.Core.Tests/Rules/Conventions/AsyncExceptionWithoutReturn.fs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type TestAsyncExceptionWithoutReturn() =
99
inherit FSharpLint.Core.Tests.TestAstNodeRuleBase.TestAstNodeRuleBase(AsyncExceptionWithoutReturn.rule)
1010

1111
[<Test>]
12-
member this.AsyncRaiseWithoutReturn() =
12+
member this.RaiseInAsyncBlockWithoutReturn() =
1313
this.Parse("""
1414
module Program
1515
@@ -22,7 +22,7 @@ let someAsyncFunction () =
2222
Assert.IsTrue this.ErrorsExist
2323

2424
[<Test>]
25-
member this.AsyncRaiseWithReturn() =
25+
member this.RaiseInAsyncBlockWithReturn() =
2626
this.Parse("""
2727
module Program
2828
@@ -34,7 +34,7 @@ let someAsyncFunction () =
3434
this.AssertNoWarnings()
3535

3636
[<Test>]
37-
member this.AsyncFailWithWithoutReturn() =
37+
member this.FailWithInAsyncBlockWithoutReturn() =
3838
this.Parse("""
3939
module Program
4040
@@ -47,7 +47,7 @@ let someAsyncFunction () =
4747
Assert.IsTrue this.ErrorsExist
4848

4949
[<Test>]
50-
member this.AsyncFailwithfWithoutReturn1() =
50+
member this.FailwithfInAsyncBlockWithoutReturn1() =
5151
this.Parse("""
5252
module Program
5353
@@ -61,7 +61,7 @@ let someAsyncFunction () =
6161
Assert.IsTrue this.ErrorsExist
6262

6363
[<Test>]
64-
member this.AsyncFailwithfWithoutReturn2() =
64+
member this.FailwithfInAsyncBlockWithoutReturn2() =
6565
this.Parse("""
6666
module Program
6767
@@ -74,7 +74,7 @@ let someAsyncFunction () =
7474
Assert.IsTrue this.ErrorsExist
7575

7676
[<Test>]
77-
member this.AsyncFailwithWithReturn() =
77+
member this.FailwithInAsyncBlockWithReturn() =
7878
this.Parse("""
7979
module Program
8080
@@ -86,7 +86,7 @@ let someAsyncFunction () =
8686
this.AssertNoWarnings()
8787

8888
[<Test>]
89-
member this.AsyncFailwithfWithReturn() =
89+
member this.FailwithfInAsyncBlockWithReturn() =
9090
this.Parse("""
9191
module Program
9292
@@ -99,7 +99,7 @@ let someAsyncFunction () =
9999
this.AssertNoWarnings()
100100

101101
[<Test>]
102-
member this.AsyncRaiseWithReturnInnerExpression() =
102+
member this.RaiseInAsyncBlockWithReturnInnerExpression() =
103103
this.Parse("""
104104
module Program
105105
@@ -114,7 +114,7 @@ let someAsyncFunction () =
114114
this.AssertNoWarnings()
115115

116116
[<Test>]
117-
member this.AsyncRaiseWithoutReturnInnerExpression() =
117+
member this.RaiseInAsyncBlockWithoutReturnInnerExpression() =
118118
this.Parse("""
119119
module Program
120120

0 commit comments

Comments
 (0)