diff options
| author | bors <bors@rust-lang.org> | 2014-04-04 04:41:49 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-04 04:41:49 -0700 |
| commit | 37a9885429e8d76baad64877959400a81a2b4528 (patch) | |
| tree | af63ff7c657a2625ef84a43badb3bcfdc995675b /src/test/debug-info | |
| parent | f819c21952ce9162a1e0f0d2a7ce4ad115609ac7 (diff) | |
| parent | 7ce2630cef8b9bc951ce6075c4193730a3efa719 (diff) | |
auto merge of #13291 : thestinger/rust/no_null, r=alexcrichton
This was missed when dropping the null-termination from our string types. An explicit null byte can still be placed anywhere in a string if desired, but there's no reason to stick one at the end of every string constant.
Diffstat (limited to 'src/test/debug-info')
| -rw-r--r-- | src/test/debug-info/include_string.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/debug-info/include_string.rs b/src/test/debug-info/include_string.rs index 39bc62e6d3b..fbfa77741a7 100644 --- a/src/test/debug-info/include_string.rs +++ b/src/test/debug-info/include_string.rs @@ -14,12 +14,12 @@ // debugger:rbreak zzz // debugger:run // debugger:finish -// debugger:print string1 -// check:$1 = [...]"some text to include in another file as string 1", length = 48} -// debugger:print string2 -// check:$2 = [...]"some text to include in another file as string 2", length = 48} -// debugger:print string3 -// check:$3 = [...]"some text to include in another file as string 3", length = 48} +// debugger:print string1.length +// check:$1 = 48 +// debugger:print string2.length +// check:$2 = 48 +// debugger:print string3.length +// check:$3 = 48 // debugger:continue #[allow(unused_variable)]; |
