Remove DVec from json
This commit is contained in:
parent
ae38935ff3
commit
9324f497b2
1 changed files with 3 additions and 3 deletions
|
@ -1298,7 +1298,7 @@ mod tests {
|
|||
// and json... not sure where to put these tests.
|
||||
#[test]
|
||||
fn test_write_enum () {
|
||||
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
|
||||
let bw = @io::BytesWriter();
|
||||
let bww : @io::Writer = (bw as @io::Writer);
|
||||
let encoder = (@Encoder(bww) as @serialize::Encoder);
|
||||
do encoder.emit_enum(~"animal") {
|
||||
|
@ -1319,7 +1319,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_write_some () {
|
||||
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
|
||||
let bw = @io::BytesWriter();
|
||||
let bww : @io::Writer = (bw as @io::Writer);
|
||||
let encoder = (@Encoder(bww) as @serialize::Encoder);
|
||||
do encoder.emit_enum(~"Option") {
|
||||
|
@ -1335,7 +1335,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_write_none () {
|
||||
let bw = @io::BytesWriter {bytes: dvec::DVec(), pos: 0};
|
||||
let bw = @io::BytesWriter();
|
||||
let bww : @io::Writer = (bw as @io::Writer);
|
||||
let encoder = (@Encoder(bww) as @serialize::Encoder);
|
||||
do encoder.emit_enum(~"Option") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue