Skip to content

Commit f6f10f7

Browse files
author
Max Moiseev
committed
[test] Fix the endianness related test failures
1 parent 0424234 commit f6f10f7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/IDE/complete_exception.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ func test015() {
227227
}
228228
// Check that we can complete on the bound value; Not exhaustive..
229229
// INT_DOT: Begin completions
230-
// INT_DOT-DAG: Decl[InstanceVar]/CurrNominal: bigEndian[#Int32#]; name=bigEndian
231-
// INT_DOT-DAG: Decl[InstanceVar]/CurrNominal: littleEndian[#Int32#]; name=littleEndian
230+
// INT_DOT-DAG: Decl[InstanceVar]/Super: bigEndian[#(Int32)#]; name=bigEndian
231+
// INT_DOT-DAG: Decl[InstanceVar]/Super: littleEndian[#(Int32)#]; name=littleEndian
232232
// INT_DOT: End completions
233233

234234
//===--- Inside catch body top-level

test/IDE/complete_literal.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
1.#^LITERAL1^#
1111
}
1212
// LITERAL1: Begin completions
13-
// LITERAL1-DAG: Decl[InstanceVar]/CurrNominal: bigEndian[#Int#]; name=bigEndian{{$}}
14-
// LITERAL1-DAG: Decl[InstanceVar]/CurrNominal: littleEndian[#Int#]; name=littleEndian{{$}}
13+
// LITERAL1-DAG: Decl[InstanceVar]/Super: bigEndian[#Int#]; name=bigEndian{{$}}
14+
// LITERAL1-DAG: Decl[InstanceVar]/Super: littleEndian[#Int#]; name=littleEndian{{$}}
1515
// LITERAL1-DAG: Decl[InstanceVar]/CurrNominal: byteSwapped[#Int#]; name=byteSwapped{{$}}
1616
// LITERAL1-DAG: Decl[InstanceVar]/CurrNominal: nonzeroBitCount[#Int#]; name=nonzeroBitCount{{$}}
1717

0 commit comments

Comments
 (0)