message: Update dictionary test to support non-deterministic element sort order
diff: -// Test that dictionaries work in the REPL.
  +// Test that the dictionary data formatter works in the REPL.
  // REQUIRES: darwin
  // RUN: %lldb --repl < %s | FileCheck %s --check-prefix=DICT
  +// DICT: Welcome to Swift version {{.*}} (LLVM {{.*}}, Clang {{.*}}, Swift {{.*}})
  +
  +// The dictionary order isn't deterministic, so print the dictionary
  +// once per element.
  [1:2, 2:3, 3:9]
  -// DICT: Welcome to Swift version {{.*}} (LLVM {{.*}}, Clang {{.*}}, Swift {{.*}})
  -// DICT-NEXT: $R0: [Int : Int] = 3 key/value pairs {
  -// DICT-NEXT: [0] = {
  -// DICT-NEXT: key = 2
  -// DICT-NEXT: value = 3
  +// DICT-LABEL: $R0: [Int : Int] = 3 key/value pairs {
  +// DICT: [{{[0-3]}}] = {
  +// DICT: key = 1
  +// DICT-NEXT: value = 2
  // DICT-NEXT: }
  -// DICT-NEXT: [1] = {
  -// DICT-NEXT: key = 3
  +[1:2, 2:3, 3:9]
  +// DICT-LABEL: $R1: [Int : Int] = 3 key/value pairs {
  +// DICT: [{{[0-3]}}] = {
  +// DICT: key = 3
  // DICT-NEXT: value = 9
  // DICT-NEXT: }
  -// DICT-NEXT: [2] = {
  -// DICT-NEXT: key = 1
  -// DICT-NEXT: value = 2
  -// DICT-NEXT: }
  +[1:2, 2:3, 3:9]
  +// DICT-LABEL: $R2: [Int : Int] = 3 key/value pairs {
  +// DICT: [{{[0-3]}}] = {
  +// DICT: key = 2
  +// DICT-NEXT: value = 3
  // DICT-NEXT: }
  $R0.count
  -// DICT: $R1: Int = 3
  +// DICT-LABEL: $R3: Int = 3
  var x = $R0
  -// DICT: x: [Int : Int] = 3 key/value pairs {
  -// DICT-NEXT: [0] = {
  -// DICT-NEXT: key = 2
  -// DICT-NEXT: value = 3
  -// DICT-NEXT: }
  -// DICT-NEXT: [1] = {
  -// DICT-NEXT: key = 3
  -// DICT-NEXT: value = 9
  -// DICT-NEXT: }
  -// DICT-NEXT: [2] = {
  -// DICT-NEXT: key = 1
  +// DICT-LABEL: x: [Int : Int] = 3 key/value pairs {
  +// DICT: [{{[0-3]}}] = {
  +// DICT: key = 1
  // DICT-NEXT: value = 2
  // DICT-NEXT: }
  -// DICT-NEXT: }
  x.updateValue(8, forKey : 4)
  x
  