Skip to content

Commit 7fae645

Browse files
oli-obkOliver 'ker' Schneider
authored and
Oliver 'ker' Schneider
committed
remove unit test that can't be tested anymore
1 parent 6951cbb commit 7fae645

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/libsyntax/print/pprust.rs

-8
Original file line numberDiff line numberDiff line change
@@ -3177,12 +3177,4 @@ mod tests {
31773177
let varstr = variant_to_string(&var);
31783178
assert_eq!(varstr, "principal_skinner");
31793179
}
3180-
3181-
#[test]
3182-
fn test_signed_int_to_string() {
3183-
let pos_int = ast::LitInt(42, ast::SignedIntLit(ast::TyI32, ast::Plus));
3184-
let neg_int = ast::LitInt((!42 + 1) as u64, ast::SignedIntLit(ast::TyI32, ast::Minus));
3185-
assert_eq!(format!("-{}", lit_to_string(&codemap::dummy_spanned(pos_int))),
3186-
lit_to_string(&codemap::dummy_spanned(neg_int)));
3187-
}
31883180
}

0 commit comments

Comments
 (0)