tracks/fsharp/exercises/grep/GrepTest.fs in trackler-2.0.5.0 vs tracks/fsharp/exercises/grep/GrepTest.fs in trackler-2.0.5.1
- old
+ new
@@ -42,10 +42,11 @@
That Shepherd, who first taught the chosen Seed
"""
[<OneTimeSetUp>]
let setUp () =
+ Directory.SetCurrentDirectory(Path.GetTempPath());
File.WriteAllText(iliadFileName, iliadContents)
File.WriteAllText(midsummerNightFileName, midsummerNightContents)
File.WriteAllText(paradiseLostFileName, paradiseLostContents)
[<OneTimeTearDown>]
@@ -327,6 +328,6 @@
let pattern = "Frodo"
let files = [iliadFileName; midsummerNightFileName; paradiseLostFileName]
let expected = ""
- Assert.That(grep pattern flags files, Is.EqualTo(expected))
\ No newline at end of file
+ Assert.That(grep pattern flags files, Is.EqualTo(expected))