Skip to content

Commit 4b3c257

Browse files
committed
---
yaml --- r: 44443 b: refs/heads/master c: 9324f49 h: refs/heads/master i: 44441: 2929ec0 44439: ba07bca v: v3
1 parent c12bb59 commit 4b3c257

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ae38935ff3d295dbf2fca5a5cef5103e868678bb
2+
refs/heads/master: 9324f497b28ae4d98ef443e747390d1f0ccee1de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3

trunk/src/libstd/json.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ mod tests {
12981298
// and json... not sure where to put these tests.
12991299
#[test]
13001300
fn test_write_enum () {
1301-
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
1301+
let bw = @io::BytesWriter();
13021302
let bww : @io::Writer = (bw as @io::Writer);
13031303
let encoder = (@Encoder(bww) as @serialize::Encoder);
13041304
do encoder.emit_enum(~"animal") {
@@ -1319,7 +1319,7 @@ mod tests {
13191319
13201320
#[test]
13211321
fn test_write_some () {
1322-
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
1322+
let bw = @io::BytesWriter();
13231323
let bww : @io::Writer = (bw as @io::Writer);
13241324
let encoder = (@Encoder(bww) as @serialize::Encoder);
13251325
do encoder.emit_enum(~"Option") {
@@ -1335,7 +1335,7 @@ mod tests {
13351335

13361336
#[test]
13371337
fn test_write_none () {
1338-
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
1338+
let bw = @io::BytesWriter();
13391339
let bww : @io::Writer = (bw as @io::Writer);
13401340
let encoder = (@Encoder(bww) as @serialize::Encoder);
13411341
do encoder.emit_enum(~"Option") {

0 commit comments

Comments
 (0)