Fix fallout of removing import_shadowing in tests.

This commit is contained in:
Eduard Burtescu
2014-12-19 14:02:22 +02:00
parent f95e0c21aa
commit b45d30da34
33 changed files with 97 additions and 116 deletions

View File

@@ -349,7 +349,6 @@ pub fn to_str_exp_digits(num: f32, dig: uint, upper: bool) -> String {
mod tests {
use f32::*;
use num::*;
use num;
#[test]
fn test_min_nan() {
@@ -364,8 +363,8 @@ mod tests {
}
#[test]
fn test_num() {
num::test_num(10f32, 2f32);
fn test_num_f32() {
test_num(10f32, 2f32);
}
#[test]

View File

@@ -357,7 +357,6 @@ pub fn to_str_exp_digits(num: f64, dig: uint, upper: bool) -> String {
mod tests {
use f64::*;
use num::*;
use num;
#[test]
fn test_min_nan() {
@@ -372,8 +371,8 @@ mod tests {
}
#[test]
fn test_num() {
num::test_num(10f64, 2f64);
fn test_num_f64() {
test_num(10f64, 2f64);
}
#[test]