Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Oct 13, 2024
1 parent e92c8ab commit 79ad16b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module TypeAbbreviations =
|> verifyCompile
|> shouldFail
|> withDiagnostics [
(Error 945, Line 9, Col 9, Line 9, Col 22, "Cannot inherit a sealed type")
(Error 945, Line 9, Col 17, Line 9, Col 22, "Cannot inherit a sealed type")
]

//SOURCE=E_PrivateTypeAbbreviation02.fs SCFLAGS="--test:ErrorRanges" # E_PrivateTypeAbbreviation02.fs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ module UnionTypes =
|> verifyCompile
|> shouldFail
|> withDiagnostics [
(Error 961, Line 10, Col 5, Line 10, Col 22, "This 'inherit' declaration specifies the inherited type but no arguments. Consider supplying arguments, e.g. 'inherit BaseType(args)'.")
(Error 945, Line 10, Col 5, Line 10, Col 22, "Cannot inherit a sealed type")
(Error 961, Line 10, Col 5, Line 10, Col 12, "This 'inherit' declaration specifies the inherited type but no arguments. Consider supplying arguments, e.g. 'inherit BaseType(args)'.")
(Error 945, Line 10, Col 13, Line 10, Col 22, "Cannot inherit a sealed type")
]

//SOURCE=E_LowercaseDT.fs # E_LowercaseDT.fs
Expand Down

0 comments on commit 79ad16b

Please sign in to comment.