diff --git a/test/src/findReferences.test.ts b/test/src/findReferences.test.ts index 478f6e4..39a46ea 100644 --- a/test/src/findReferences.test.ts +++ b/test/src/findReferences.test.ts @@ -181,6 +181,8 @@ suite('Find references', () => { new vscode.Location(recordsDocUri, new vscode.Range(13, 14, 13, 15)), new vscode.Location(recordsDocUri, new vscode.Range(15, 7, 15, 8)), new vscode.Location(recordsDocUri, new vscode.Range(15, 14, 15, 15)), + new vscode.Location(recordsDocUri, new vscode.Range(15, 8, 15, 9)), + new vscode.Location(recordsDocUri, new vscode.Range(15, 15, 15, 16)), ]) }) }) diff --git a/test/src/highlight.test.ts b/test/src/highlight.test.ts index df1205f..0b77de7 100644 --- a/test/src/highlight.test.ts +++ b/test/src/highlight.test.ts @@ -195,6 +195,8 @@ suite('Highlight uses', () => { new vscode.Range(13, 14, 13, 15), new vscode.Range(15, 7, 15, 8), new vscode.Range(15, 14, 15, 15), + new vscode.Range(15, 8, 15, 9), + new vscode.Range(15, 15, 15, 16), ]) }) }) diff --git a/test/src/rename.test.ts b/test/src/rename.test.ts index c300d52..2a5d172 100644 --- a/test/src/rename.test.ts +++ b/test/src/rename.test.ts @@ -155,6 +155,8 @@ suite('Rename', () => { new vscode.Range(13, 14, 13, 15), new vscode.Range(15, 7, 15, 8), new vscode.Range(15, 14, 15, 15), + new vscode.Range(15, 8, 15, 9), + new vscode.Range(15, 15, 15, 16), ], ], ]) diff --git a/test/testWorkspaces/findReferences/src/Records.flix b/test/testWorkspaces/findReferences/src/Records.flix index 927b4af..0a4292a 100644 --- a/test/testWorkspaces/findReferences/src/Records.flix +++ b/test/testWorkspaces/findReferences/src/Records.flix @@ -13,5 +13,5 @@ def setY(r: {y = Int32 | a}, v: Int32): {y = Int32 | a} = def testRecords(): Bool = let r1 = {x = 1, y = 2}; let r2 = setX(r1, 3); - r1.x + r2.x == 4 + (r1#x + r2#x) == 4 \ No newline at end of file diff --git a/test/testWorkspaces/highlight/src/Records.flix b/test/testWorkspaces/highlight/src/Records.flix index 14adead..69946d8 100644 --- a/test/testWorkspaces/highlight/src/Records.flix +++ b/test/testWorkspaces/highlight/src/Records.flix @@ -13,4 +13,4 @@ def setY(r: {y = Int32 | a}, v: Int32): {y = Int32 | a} = def testRecords(): Bool = let r1 = {x = 1, y = 2}; let r2 = setX(r1, 3); - r1.x + r2.x == 4 + (r1#x + r2#x) == 4 diff --git a/test/testWorkspaces/rename/src/Records.flix b/test/testWorkspaces/rename/src/Records.flix index 24f41fc..69946d8 100644 --- a/test/testWorkspaces/rename/src/Records.flix +++ b/test/testWorkspaces/rename/src/Records.flix @@ -13,4 +13,4 @@ def setY(r: {y = Int32 | a}, v: Int32): {y = Int32 | a} = def testRecords(): Bool = let r1 = {x = 1, y = 2}; let r2 = setX(r1, 3); - r1.x + r2.x == 4 \ No newline at end of file + (r1#x + r2#x) == 4