diff --git a/tests/fsharpqa/Source/Conformance/Expressions/DataExpressions/QueryExpressions/E_BadGroupValBy02.fs b/tests/fsharpqa/Source/Conformance/Expressions/DataExpressions/QueryExpressions/E_BadGroupValBy02.fs index 8f4388044c9..2000105ad3c 100644 --- a/tests/fsharpqa/Source/Conformance/Expressions/DataExpressions/QueryExpressions/E_BadGroupValBy02.fs +++ b/tests/fsharpqa/Source/Conformance/Expressions/DataExpressions/QueryExpressions/E_BadGroupValBy02.fs @@ -1,7 +1,7 @@ // #Conformance #DataExpressions #Query // DevDiv:210830, groupValBy with poor diagnostics -//'groupValBy' is used with an incorrect number of arguments. This is a custom operation in this query or computation expression. Expected 2 argument(s), but given 3. -//This expression was expected to have type.+'System\.Linq\.IGrouping<'a,'b>'.+but here has type.+'unit' +//.+ +//This expression was expected to have type.+'System\.Linq\.IGrouping<'a,'b>'.+but here has type.+'unit' let words = ["blueberry"; "chimpanzee"; ] let wordGroups = query { diff --git a/tests/fsharpqa/Source/Conformance/LexicalAnalysis/Comments/E_ocamlstyle_nested006.fs b/tests/fsharpqa/Source/Conformance/LexicalAnalysis/Comments/E_ocamlstyle_nested006.fs index 7f266a65a19..106ddc7c41d 100644 --- a/tests/fsharpqa/Source/Conformance/LexicalAnalysis/Comments/E_ocamlstyle_nested006.fs +++ b/tests/fsharpqa/Source/Conformance/LexicalAnalysis/Comments/E_ocamlstyle_nested006.fs @@ -1,9 +1,9 @@ // #Regression #Conformance #LexicalAnalysis // Regression test for FSHARP1.0:1561 // The OCaml (** *) feature is now gone, so this test will be a negative test from now on. -//Possible incorrect indentation: this token is offside of context started at position \(10:1\)\. Try indenting this token further or using standard formatting conventions\.$ -//Incomplete structured construct at or before this point in binding$ -//End of file in comment begun at or before here$ +//Possible incorrect indentation: this token is offside of context started at position \(9:1\)\. Try indenting this token further or using standard formatting conventions\.$ +//Incomplete structured construct at or before this point in binding$ +//End of file in comment begun at or before here$ let y6 = (** This is a comment with (***) 6 (**) diff --git a/tests/fsharpqa/Source/Conformance/LexicalFiltering/HashLight/W_OffsideAccessibility01.fs b/tests/fsharpqa/Source/Conformance/LexicalFiltering/HashLight/W_OffsideAccessibility01.fs index ade12160e53..a2283e30777 100644 --- a/tests/fsharpqa/Source/Conformance/LexicalFiltering/HashLight/W_OffsideAccessibility01.fs +++ b/tests/fsharpqa/Source/Conformance/LexicalFiltering/HashLight/W_OffsideAccessibility01.fs @@ -2,7 +2,7 @@ // FSB 2150, Offside rule for #light code should set offside to left of accessibility modifier if present //Possible incorrect indentation: this token is offside of context started at position \(17:5\)\. Try indenting this token further or using standard formatting conventions\.$ -//Expecting expression\.$ +//Expecting expression$ //Unexpected symbol '{' in member definition$ open System diff --git a/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01.fs b/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01.fs index 27b2a091a49..d6b643b5956 100644 --- a/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01.fs +++ b/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01.fs @@ -2,7 +2,7 @@ // Regression test for DevDiv:64339 // Note that the bug still repros in CHK/DBG bits - we will knownfail it //Unexpected keyword 'lazy' in type definition$ -//Unexpected keyword 'lazy'.* +//Unexpected keyword 'lazy'.+ // 5 elements -> ok type Ok(a, b, c, d, e : lazy) = class end diff --git a/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01b.fs b/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01b.fs index 8a11948fe54..449e6052344 100644 --- a/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01b.fs +++ b/tests/fsharpqa/Source/Diagnostics/NONTERM/tuplewithlazy01b.fs @@ -2,7 +2,7 @@ // Regression test for DevDiv:64339 // Note that the bug still repros in CHK/DBG bits - we will knownfail it //Unexpected keyword 'lazy' in type definition$ -//Unexpected keyword 'lazy'.* +//.+ // 5 elements -> ok type Ok(a, b, c, d, e : lazy) = class end diff --git a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/du_with01.fs b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/du_with01.fs index a296a9b46a1..47c353c2f16 100644 --- a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/du_with01.fs +++ b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/du_with01.fs @@ -1,5 +1,5 @@ // #Regression #Diagnostics -// Possible incorrect indentation: this token is offside of context started at position \(6:1\)\. Try indenting this token further or using standard formatting conventions\.$ +// Possible incorrect indentation: this token is offside of context started at position \(5:1\)\. Try indenting this token further or using standard formatting conventions\.$ // Note: this is now a positive test (see DevDiv:258510) type C = diff --git a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal01.fsx b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal01.fsx index 912dd2b40a9..e6dbdcefaa8 100644 --- a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal01.fsx +++ b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal01.fsx @@ -1,4 +1,4 @@ // #Regression #Diagnostics -//Possible incorrect indentation: this token is offside of context started at position \(5:1\)\. Try indenting this token further or using standard formatting conventions\.$ +//Possible incorrect indentation: this token is offside of context started at position \(4:1\)\. Try indenting this token further or using standard formatting conventions\.$ //A type definition requires one or more members or other declarations\. If you intend to define an empty class, struct or interface, then use 'type \.\.\. = class end', 'interface end' or 'struct end'\.$ type C() = diff --git a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal02.fsi b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal02.fsi index 30ba825548b..257e4589946 100644 --- a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal02.fsi +++ b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_equal02.fsi @@ -1,5 +1,5 @@ // #Regression #Diagnostics -//Possible incorrect indentation: this token is offside of context started at position \(9:1\)\. Try indenting this token further or using standard formatting conventions\.$ +//Possible incorrect indentation: this token is offside of context started at position \(7:1\)\. Try indenting this token further or using standard formatting conventions\.$ //A type definition requires one or more members or other declarations\. If you intend to define an empty class, struct or interface, then use 'type \.\.\. = class end', 'interface end' or 'struct end'\.$ //Possible incorrect indentation: this token is offside of context started at position \(3:1\)\. Try indenting this token further or using standard formatting conventions\.$ //A type definition requires one or more members or other declarations\. If you intend to define an empty class, struct or interface, then use 'type \.\.\. = class end', 'interface end' or 'struct end'\.$ diff --git a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_parens01.fs b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_parens01.fs index c40db1afc6f..91562efcc52 100644 --- a/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_parens01.fs +++ b/tests/fsharpqa/Source/Diagnostics/ParsingAtEOF/type_id_parens01.fs @@ -1,5 +1,5 @@ // #Regression #Diagnostics -//Possible incorrect indentation: this token is offside of context started at position \(7:1\)\. Try indenting this token further or using standard formatting conventions\.$ +//Possible incorrect indentation: this token is offside of context started at position \(6:1\)\. Try indenting this token further or using standard formatting conventions\.$ //A type definition requires one or more members or other declarations\. If you intend to define an empty class, struct or interface, then use 'type \.\.\. = class end', 'interface end' or 'struct end'\.$