Tweak "line" test to avoid platform-specific floating-point output