Merge pull request #25 from jbcrail/fix-overflow-literal

Fix overflowing literal in LCM test.
This commit is contained in:
Alex Crichton 2014-11-07 23:31:17 -06:00
commit da2fcbaa0c
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ macro_rules! impl_integer_for_uint {
assert_eq!((1 as $T).lcm(&1), 1 as $T);
assert_eq!((8 as $T).lcm(&9), 72 as $T);
assert_eq!((11 as $T).lcm(&5), 55 as $T);
assert_eq!((99 as $T).lcm(&17), 1683 as $T);
assert_eq!((15 as $T).lcm(&17), 255 as $T);
}
#[test]