diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-29 12:06:09 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-29 12:06:09 -0800 |
| commit | f1ddb2a32c2de840211607c9b9e32a2aed4fa7e8 (patch) | |
| tree | 69ad79729bf8d503f7f6a9f9b720aa2627f608fa /src/libstd/base64.rs | |
| parent | d0391c5b092f27c4d52b304c069f6cf6a033cb75 (diff) | |
| download | rust-f1ddb2a32c2de840211607c9b9e32a2aed4fa7e8.tar.gz rust-f1ddb2a32c2de840211607c9b9e32a2aed4fa7e8.zip | |
libstd: De-export libstd. rs=deexport
Diffstat (limited to 'src/libstd/base64.rs')
| -rw-r--r-- | src/libstd/base64.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/base64.rs b/src/libstd/base64.rs index db3991a1d3b..a9b57137709 100644 --- a/src/libstd/base64.rs +++ b/src/libstd/base64.rs @@ -152,12 +152,10 @@ impl ~str: FromBase64 { #[cfg(test)] mod tests { - #[legacy_exports]; - use core::str; #[test] - fn test_to_base64() { + pub fn test_to_base64() { assert (~"").to_base64() == ~""; assert (~"f").to_base64() == ~"Zg=="; assert (~"fo").to_base64() == ~"Zm8="; @@ -168,7 +166,7 @@ mod tests { } #[test] - fn test_from_base64() { + pub fn test_from_base64() { assert (~"").from_base64() == str::to_bytes(~""); assert (~"Zg==").from_base64() == str::to_bytes(~"f"); assert (~"Zm8=").from_base64() == str::to_bytes(~"fo"); |
