Skip to content

Commit fbf47d1

Browse files
committed
note source of test values
1 parent fac9d22 commit fbf47d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/run-pass/float.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ fn basic() {
114114
assert_eq(y, 42.0_f32);
115115
}
116116

117+
/// Many of these test values are taken from
118+
/// https://github.com/WebAssembly/testsuite/blob/master/conversions.wast.
117119
fn casts() {
118120
// f32 -> i8
119121
test_both_cast::<f32, i8>(127.99, 127);

0 commit comments

Comments
 (0)