diff options
| author | Michael Woerister <michaelwoerister@gmail> | 2013-06-20 16:45:47 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@gmail> | 2013-06-27 19:28:17 +0200 |
| commit | 1dc8e76d3a32fbb304b152f815d394577fe008c6 (patch) | |
| tree | 29c6283afc47070b8ea5c8bd9c03f24287eb4d3e /src/test/debug-info/tuple-in-struct.rs | |
| parent | 4d8f2fd8714b983aa8ae5d697c90998424930f5b (diff) | |
| download | rust-1dc8e76d3a32fbb304b152f815d394577fe008c6.tar.gz rust-1dc8e76d3a32fbb304b152f815d394577fe008c6.zip | |
debuginfo: Made test cases use correct naming convention for variables.
Diffstat (limited to 'src/test/debug-info/tuple-in-struct.rs')
| -rw-r--r-- | src/test/debug-info/tuple-in-struct.rs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/test/debug-info/tuple-in-struct.rs b/src/test/debug-info/tuple-in-struct.rs index 1ad4d7c069e..369c9fd28cc 100644 --- a/src/test/debug-info/tuple-in-struct.rs +++ b/src/test/debug-info/tuple-in-struct.rs @@ -16,29 +16,29 @@ // debugger:run // debugger:finish -// debugger:print noPadding1 +// debugger:print no_padding1 // check:$1 = {x = {0, 1}, y = 2, z = {3, 4, 5}} -// debugger:print noPadding2 +// debugger:print no_padding2 // check:$2 = {x = {6, 7}, y = {{8, 9}, 10}} -// debugger:print tupleInternalPadding +// debugger:print tuple_internal_padding // check:$3 = {x = {11, 12}, y = {13, 14}} -// debugger:print structInternalPadding +// debugger:print struct_internal_padding // check:$4 = {x = {15, 16}, y = {17, 18}} -// debugger:print bothInternallyPadded +// debugger:print both_internally_padded // check:$5 = {x = {19, 20, 21}, y = {22, 23}} -// debugger:print singleTuple +// debugger:print single_tuple // check:$6 = {x = {24, 25, 26}} -// debugger:print tuplePaddedAtEnd +// debugger:print tuple_padded_at_end // check:$7 = {x = {27, 28}, y = {29, 30}} -// debugger:print structPaddedAtEnd +// debugger:print struct_padded_at_end // check:$8 = {x = {31, 32}, y = {33, 34}} -// debugger:print bothPaddedAtEnd +// debugger:print both_padded_at_end // check:$9 = {x = {35, 36, 37}, y = {38, 39}} -// debugger:print mixedPadding +// debugger:print mixed_padding // check:$10 = {x = {{40, 41, 42}, {43, 44}}, y = {45, 46, 47, 48}} struct NoPadding1 { @@ -95,52 +95,52 @@ struct MixedPadding { fn main() { - let noPadding1 = NoPadding1 { + let no_padding1 = NoPadding1 { x: (0, 1), y: 2, z: (3, 4, 5) }; - let noPadding2 = NoPadding2 { + let no_padding2 = NoPadding2 { x: (6, 7), y: ((8, 9), 10) }; - let tupleInternalPadding = TupleInternalPadding { + let tuple_internal_padding = TupleInternalPadding { x: (11, 12), y: (13, 14) }; - let structInternalPadding = StructInternalPadding { + let struct_internal_padding = StructInternalPadding { x: (15, 16), y: (17, 18) }; - let bothInternallyPadded = BothInternallyPadded { + let both_internally_padded = BothInternallyPadded { x: (19, 20, 21), y: (22, 23) }; - let singleTuple = SingleTuple { + let single_tuple = SingleTuple { x: (24, 25, 26) }; - let tuplePaddedAtEnd = TuplePaddedAtEnd { + let tuple_padded_at_end = TuplePaddedAtEnd { x: (27, 28), y: (29, 30) }; - let structPaddedAtEnd = StructPaddedAtEnd { + let struct_padded_at_end = StructPaddedAtEnd { x: (31, 32), y: (33, 34) }; - let bothPaddedAtEnd = BothPaddedAtEnd { + let both_padded_at_end = BothPaddedAtEnd { x: (35, 36, 37), y: (38, 39) }; - let mixedPadding = MixedPadding { + let mixed_padding = MixedPadding { x: ((40, 41, 42), (43, 44)), y: (45, 46, 47, 48) }; |
