about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-25 14:58:49 -0700
committerMichael Howell <michael@notriddle.com>2022-09-25 14:58:49 -0700
commita50081e102c72642c87e27ab23ed07f4c9c8efc9 (patch)
tree866dee20714b7d6e94cf0f0416548cdfe07bed36
parent4ba40314e1a28e6230c6f404ee3b23de3efb7709 (diff)
downloadrust-a50081e102c72642c87e27ab23ed07f4c9c8efc9.tar.gz
rust-a50081e102c72642c87e27ab23ed07f4c9c8efc9.zip
Round offset to whole integer
-rw-r--r--src/test/rustdoc-gui/implementors.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/implementors.goml b/src/test/rustdoc-gui/implementors.goml
index dc3b2e12268..2fcbee27147 100644
--- a/src/test/rustdoc-gui/implementors.goml
+++ b/src/test/rustdoc-gui/implementors.goml
@@ -19,12 +19,12 @@ goto: file://|DOC_PATH|/test_docs/struct.HasEmptyTraits.html
 compare-elements-position-near-false: (
     "#impl-EmptyTrait1-for-HasEmptyTraits",
     "#impl-EmptyTrait2-for-HasEmptyTraits",
-    {"y": 34.1875},
+    {"y": 34},
 )
 compare-elements-position-near: (
     "#impl-EmptyTrait3-for-HasEmptyTraits h3",
     "#impl-EmptyTrait3-for-HasEmptyTraits .item-info",
-    {"y": 34.1875},
+    {"y": 34},
 )
 
 // Now check that re-exports work correctly.