Skip to content

Commit 2a81f50

Browse files
committed
fix tests after recent new warning addition
1 parent e87790e commit 2a81f50

12 files changed

+16
-16
lines changed

tests/service/CSharpProjectAnalysis.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
44
#r "../../bin/v4.5/CSharp_Analysis.dll"
5-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
5+
#r "../../packages/NUnit/lib/nunit.framework.dll"
66
#load "FsUnit.fs"
77
#load "Common.fs"
88
#else

tests/service/EditorTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else

tests/service/ExprTests.fs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else
8-
module FSharp.Compiler.Service.Tests.ExpeTests
8+
module FSharp.Compiler.Service.Tests.ExprTests
99
#endif
1010

1111

@@ -169,12 +169,12 @@ let testILCall2 = System.Console.WriteLine(176)
169169
170170
// Test recursive values in a module
171171
let rec recValNeverUsedAtRuntime = recFuncIgnoresFirstArg (fun _ -> recValNeverUsedAtRuntime) 1
172-
and recFuncIgnoresFirstArg g v = v
172+
and recFuncIgnoresFirstArg (g:int->int) v = v
173173
174174
let testFun4() =
175175
// Test recursive values in expression position
176176
let rec recValNeverUsedAtRuntime = recFuncIgnoresFirstArg (fun _ -> recValNeverUsedAtRuntime) 1
177-
and recFuncIgnoresFirstArg g v = v
177+
and recFuncIgnoresFirstArg (g:int->int) v = v
178178
179179
recValNeverUsedAtRuntime
180180
@@ -392,7 +392,7 @@ let ``Test Declarations project1`` () =
392392
"let tyfuncEx1 = Operators.TypeOf<'T> () @ (26,20--26,26)";
393393
"let testILCall1 = new Object() @ (27,18--27,27)";
394394
"let testILCall2 = Console.WriteLine (176) @ (28,18--28,47)";
395-
"let recFuncIgnoresFirstArg(g) (v) = v @ (32,33--32,34)";
395+
"let recFuncIgnoresFirstArg(g) (v) = v @ (32,44--32,45)";
396396
"let recValNeverUsedAtRuntime = [email protected]<Microsoft.FSharp.Core.int>(()) @ (31,8--31,32)";
397397
"let testFun4(unitVar0) = let rec ... in recValNeverUsedAtRuntime @ (36,4--39,28)";
398398
"type ClassWithImplicitConstructor";

tests/service/FileSystemTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if INTERACTIVE
22
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
3-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
3+
#r "../../packages/NUnit/lib/nunit.framework.dll"
44
#load "FsUnit.fs"
55
#load "Common.fs"
66
#else

tests/service/FscTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else

tests/service/FsiTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else

tests/service/InteractiveCheckerTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else

tests/service/MultiProjectAnalysisTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#if INTERACTIVE
33
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
4-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
4+
#r "../../packages/NUnit/lib/nunit.framework.dll"
55
#load "FsUnit.fs"
66
#load "Common.fs"
77
#else

tests/service/PerfTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if INTERACTIVE
22
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
3-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
3+
#r "../../packages/NUnit/lib/nunit.framework.dll"
44
#load "FsUnit.fs"
55
#load "Common.fs"
66
#else

tests/service/ProjectAnalysisTests.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if INTERACTIVE
22
#r "../../bin/v4.5/FSharp.Compiler.Service.dll"
3-
#r "../../packages/NUnit.2.6.3/lib/nunit.framework.dll"
3+
#r "../../packages/NUnit/lib/nunit.framework.dll"
44
#load "FsUnit.fs"
55
#load "Common.fs"
66
#else

0 commit comments

Comments
 (0)