Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update fsharpqa tests
  • Loading branch information
cartermp committed Jul 10, 2019
commit 391ec6d314a0fded23e4676710b50d47d3b62d9c
4 changes: 2 additions & 2 deletions tests/fsharpqa/Source/Printing/BindingsWithValues01.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
//<Expects status="success"> \| Office</Expects>
//<Expects status="success">val a : int = 1</Expects>
//<Expects status="success">val B : string = "Hello"</Expects>
//<Expects status="success">val c' : RecT = {Name = "F#";}</Expects>
//<Expects status="success">val c' : RecT = { Name = "F#" }</Expects>
//<Expects status="success">val _d : Bldg = Office</Expects>
//<Expects status="success">val e : seq<int></Expects>
//<Expects status="success">val F'F : int list = \[3; 2; 1]</Expects>
//<Expects status="success">val g : Set<int></Expects>
//<Expects status="success">val g' : Set<'a></Expects>
//<Expects status="success">val getPointF : x:float32 \* y:float32 -> System\.Drawing\.PointF</Expects>
//<Expects status="success">val h : System\.Drawing\.PointF = {X=.+, Y=.+}</Expects>
//<Expects status="success">val i : int \* RecT \* Bldg = \(1, {Name = "F#";}, Office\)</Expects>
//<Expects status="success">val i : int \* RecT \* Bldg = \(1, { Name = "F#" }, Office\)</Expects>
//<Expects status="success">val J_ : int \[\] = \[\|1; 2; 3\|]</Expects>
//<Expects status="success">val j_' : float \[\] = \[\|1\.0; 1\.0\|]</Expects>
//<Expects status="success">val j_'_ : RecT \[\] = \[\|\|]</Expects>
Expand Down
2 changes: 1 addition & 1 deletion tests/fsharpqa/Source/Printing/CustomExceptions01.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exception WeekendEx of WeekendDay
if sprintf "%A" (Foo) <> "Foo"
|| sprintf "%A" (Bar 10) <> "Bar 10"
|| sprintf "%A" (FooBaz System.DateTime.Today) <> ("FooBaz " + System.DateTime.Today.ToString())
|| sprintf "%A" (MarkupEx {Body = "<body>"}) <> "MarkupEx {Body = \"<body>\";}"
|| sprintf "%A" (MarkupEx {Body = "<body>"}) <> "MarkupEx { Body = \"<body>\" }"
|| sprintf "%A" (WeekendEx Saturday) <> "WeekendEx Saturday"
then exit 1

Expand Down