@@ -83,19 +83,19 @@ let VerifyCompletionList(fileContents: string, marker: string, expected: string
8383if hasExpectedNotFound|| hasUnexpectedFoundthen
8484let expectedNotFoundMsg =
8585if hasExpectedNotFoundthen
86- sprintf" Expected completions not found:%s " ( formatCompletions expectedNotFound)
86+ sprintf" \n Expected completions not found:%s \n " ( formatCompletions expectedNotFound)
8787else
8888 String.Empty
8989
9090let unexpectedFoundMsg =
9191if hasUnexpectedFoundthen
92- sprintf" Unexpected completions found:%s " ( formatCompletions unexpectedFound)
92+ sprintf" \n Unexpected completions found:%s \n " ( formatCompletions unexpectedFound)
9393else
9494 String.Empty
9595
96- let completionsMsg = sprintf" Completions:%s " ( formatCompletions results)
96+ let completionsMsg = sprintf" \n in Completions:%s " ( formatCompletions results)
9797
98- let msg = sprintf" \n %s \n %s \n in %s " expectedNotFoundMsg unexpectedFoundMsg completionsMsg
98+ let msg = sprintf" %s%s %s" expectedNotFoundMsg unexpectedFoundMsg completionsMsg
9999
100100 Assert.Fail( msg)
101101
295295" ToArray" ; " ToString" ; " TrimExcess" ; " TrueForAll" ]
296296 VerifyCompletionListExactly( fileContents, " x." , expected)
297297
298- [<Test>]
298+ [<Test; Ignore ( " Before this test can pass, the test below needs to pass. Related to: https://github.com/Microsoft/visualfsharp/issues/2973 " ) >]
299299let ``Constructing a new class with object initializer syntax`` () =
300300let fileContents = """
301301type A() =
@@ -310,7 +310,22 @@ let _ = new A(Setta
310310let notExpected = [ " NonSettableProperty" ]
311311 VerifyCompletionList( fileContents, " (Setta" , expected, notExpected)
312312
313- [<Test>]
313+ [<Test; Ignore( " https://github.com/Microsoft/visualfsharp/issues/2973" ) >]
314+ let ``Constructing a new class with object initializer syntax and verifying 'at' character doesn't exist.`` () =
315+ let fileContents = """
316+ type A() =
317+ member val SettableProperty = 1 with get, set
318+ member val AnotherSettableProperty = 1 with get, set
319+ member val NonSettableProperty = 1
320+
321+ let _ = new A(Setta
322+ """
323+
324+ let expected = []
325+ let notExpected = [ " SettableProperty@" ; " AnotherSettableProperty@" ; " NonSettableProperty@" ]
326+ VerifyCompletionList( fileContents, " (Setta" , expected, notExpected)
327+
328+ [<Test; Ignore( " https://github.com/Microsoft/visualfsharp/issues/3954" ) >]
314329let ``Constructing a new fully qualified class with object initializer syntax`` () =
315330let fileContents = """
316331module M =