Skip to content

Commit

Permalink
Merge pull request #619 from epage/float
Browse files Browse the repository at this point in the history
test: Remove false failure
  • Loading branch information
epage authored Oct 3, 2023
2 parents 87a740f + 8b66ed7 commit 576ba4d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 16 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/toml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ serde_spanned = { version = "0.6.3", path = "../serde_spanned", features = ["ser
[dev-dependencies]
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
toml-test-harness = "0.4.5"
toml-test-harness = "0.4.7"
toml-test-data = "1.3.1"
snapbox = "0.4.11"

Expand Down
1 change: 0 additions & 1 deletion crates/toml/tests/decoder_compliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ mod decoder;
fn main() {
let decoder = decoder::Decoder;
let mut harness = toml_test_harness::DecoderHarness::new(decoder);
harness.ignore(["valid/spec/float-0.toml"]).unwrap();
harness.version("1.0.0");
harness.test();
}
Expand Down
1 change: 0 additions & 1 deletion crates/toml/tests/encoder_compliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ fn main() {
let encoder = encoder::Encoder;
let decoder = decoder::Decoder;
let mut harness = toml_test_harness::EncoderHarness::new(encoder, decoder);
harness.ignore(["valid/spec/float-0.toml"]).unwrap();
harness.version("1.0.0");
harness.test();
}
Expand Down
2 changes: 1 addition & 1 deletion crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ serde_spanned = { version = "0.6.3", path = "../serde_spanned", features = ["ser

[dev-dependencies]
serde_json = "1.0.96"
toml-test-harness = "0.4.5"
toml-test-harness = "0.4.7"
toml-test-data = "1.3.1"
libtest-mimic = "0.6.0"
snapbox = { version = "0.4.11", features = ["harness"] }
Expand Down
1 change: 0 additions & 1 deletion crates/toml_edit/tests/decoder_compliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ mod decoder;
fn main() {
let decoder = decoder::Decoder;
let mut harness = toml_test_harness::DecoderHarness::new(decoder);
harness.ignore(["valid/spec/float-0.toml"]).unwrap();
harness.version("1.0.0");
harness.test();
}
6 changes: 1 addition & 5 deletions crates/toml_edit/tests/encoder_compliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ fn main() {
let encoder = encoder::Encoder;
let decoder = decoder::Decoder;
let mut harness = toml_test_harness::EncoderHarness::new(encoder, decoder);
harness
.ignore([
"valid/spec/float-0.toml", // Test issue; `Decoder` turns `6.626e-34` into `0.0`
])
.unwrap();
harness.version("1.0.0");
harness.test();
}

0 comments on commit 576ba4d

Please sign in to comment.