@@ -117,7 +117,7 @@ type UsingMSBuild() =
117117 let solution = this.CreateSolution()
118118 let project = CreateProject( solution, " testproject" )
119119 let file1 = AddFileFromTextEx( project, @" ..\LINK.FS" , @" ..\link.fs" , BuildAction.Compile,
120- [ " #light "
120+ [
121121 " type Bob() = "
122122 " let x = 1" ])
123123 let file1 = OpenFile( project, @" ..\link.fs" )
@@ -196,19 +196,19 @@ type UsingMSBuild() =
196196 [<Fact>]
197197 member public this. ``Salsa.ReplaceAllText`` () =
198198 let code =
199- [ " #light " ;
199+ [ " // " ;
200200 " let x = \" A String Literal\" " ]
201201 let ( _solution , _project , file ) = this.CreateSingleFileProject( code)
202202
203203 // Sanity check
204- MoveCursorToStartOfMarker( file, " #light " )
204+ MoveCursorToStartOfMarker( file, " // " )
205205 AssertEqual( TokenType.PreprocessorKeyword, GetTokenTypeAtCursor( file))
206206 MoveCursorToEndOfMarker( file, " let x = " )
207207 AssertEqual( TokenType.String, GetTokenTypeAtCursor( file))
208208
209209 // Replace file contents
210210 ReplaceFileInMemory file
211- [ " #light " ;
211+ [
212212 " let x = 42 // comment!" ;
213213 " let y = \" A String Literal\" " ]
214214
@@ -292,7 +292,7 @@ type UsingMSBuild() =
292292 member public this. ``ExhaustivelyScrutinize.Bug2277`` () =
293293 Helper.ExhaustivelyScrutinize(
294294 this.TestRunner,
295- [ " #light "
295+ [
296296 " open Microsoft.FSharp.Plot.Excel"
297297 " open Microsoft.FSharp.Plot.Interactive"
298298 " let ps = [| (1.,\" c\" ); (-2.,\" p\" ) |]"
@@ -306,7 +306,7 @@ type UsingMSBuild() =
306306 member public this. ``ExhaustivelyScrutinize.Bug2283`` () =
307307 Helper.ExhaustivelyScrutinize(
308308 this.TestRunner,
309- [ " #light "
309+ [
310310 " #r \" NestedClasses.dll\" " // Scenario requires this assembly not exist.
311311 " //753 atomType -> atomType DOT path typeArgs"
312312 " let specificIdent (x : RootNamespace.ClassOfT<int>.NestedClassOfU<string>) = x"
0 commit comments