Skip to content

Commit 726c34f

Browse files
committed
test: Reduce unit test requirements
1 parent 16b4c72 commit 726c34f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/value.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,12 @@ mod tests {
891891
#[cfg(feature = "toml")]
892892
fn test_i64() {
893893
let c = Config::builder()
894-
.add_source(File::new("tests/types/i64.toml", FileFormat::Toml))
894+
.add_source(File::from_str(
895+
"
896+
value = 120
897+
",
898+
FileFormat::Toml,
899+
))
895900
.build()
896901
.unwrap();
897902

tests/types/i64.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)