Fixed one of the remaining full tests on windows.
@@ -164,7 +164,7 @@ mod full {
macro_rules! full_test {
($name:ident, $crate_name:expr,
$old_version:expr, $new_version:expr,
- $result:literal) => {
+ $result:expr) => {
#[test]
fn $name() {
test_full($crate_name, $old_version, $new_version, $result);
@@ -173,7 +173,8 @@ mod full {
}
full_test!(log, "log", "0.3.4", "0.3.8", true);
- full_test!(libc0, "libc", "0.2.28", "0.2.31", false);
+ // the libc API on windows did *not* change between these versions
+ full_test!(libc0, "libc", "0.2.28", "0.2.31", cfg!(windows));
full_test!(libc1, "libc", "0.2.47", "0.2.48", true);
// full_test!(mozjs, "mozjs", "0.2.0", "0.3.0");
// full_test!(rand, "rand", "0.3.10", "0.3.16");
