Skip to content

Commit

Permalink
tests: add very long string for crc32 test
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Oct 11, 2024
1 parent 7c57c27 commit 8160562
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/test_apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,13 @@ fn apply_crc32() {
let wrk = Workdir::new("apply_crc32");
wrk.create(
"data.csv",
vec![svec!["name"], svec!["John"], svec!["Sue"], svec!["Hopkins"]],
vec![
svec!["name"],
svec!["John"],
svec!["Sue"],
svec!["Hopkins"],
svec!["TheQuickBrownFoxJumpedOverTheLazyDogByTheZigzagQuarrySite 1234567890 &^#@09"],
],
);
let mut cmd = wrk.command("apply");
cmd.arg("operations")
Expand All @@ -2691,6 +2697,10 @@ fn apply_crc32() {
svec!["John", "2437433000"],
svec!["Sue", "4264251807"],
svec!["Hopkins", "1940610850"],
svec![
"TheQuickBrownFoxJumpedOverTheLazyDogByTheZigzagQuarrySite 1234567890 &^#@09",
"4056627688"
],
];

assert_eq!(got, expected);
Expand Down

0 comments on commit 8160562

Please sign in to comment.