Skip to content

Commit 2d22d93

Browse files
committed
Address review comments
1 parent b616c6b commit 2d22d93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wkt/src/internal/int64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mod test {
6969
#[test_case(i64::MIN as f64, i64::MIN; "min as f64")]
7070
#[test_case(format!("{}", i64::MIN), i64::MIN; "min as string")]
7171
#[test_case(format!("{}.0", i64::MIN), i64::MIN; "min as f64 string")]
72-
// Not quite a roundtrip test because we always serialize as numbers.
72+
// Not quite a roundtrip test because we always serialize as strings.
7373
fn deser_and_ser<T: serde::Serialize>(input: T, want: i64) -> Result<()> {
7474
let got = I64::deserialize_as(json!(input))?;
7575
assert_eq!(got, want);

src/wkt/src/internal/uint64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mod test {
6464
#[test_case(u64::MIN as f64, u64::MIN; "min as f64")]
6565
#[test_case(format!("{}", u64::MIN), u64::MIN; "min as string")]
6666
#[test_case(format!("{}.0", u64::MIN), u64::MIN; "min as f64 string")]
67-
// Not quite a roundtrip test because we always serialize as numbers.
67+
// Not quite a roundtrip test because we always serialize as strings.
6868
fn deser_and_ser<T: serde::Serialize>(input: T, want: u64) -> Result<()> {
6969
let got = U64::deserialize_as(json!(input))?;
7070
assert_eq!(got, want);

0 commit comments

Comments
 (0)