more testing fallout from core->std/std->extra move
This commit is contained in:
parent
6e2b082adc
commit
34cfd2183b
7 changed files with 147 additions and 145 deletions
|
|
@ -57,8 +57,8 @@ while cur < len(lines):
|
|||
if not ignore:
|
||||
if not re.search(r"\bfn main\b", block):
|
||||
block = "fn main() {\n" + block + "\n}\n"
|
||||
if not re.search(r"\bextern mod std\b", block):
|
||||
block = "extern mod std;\n" + block
|
||||
if not re.search(r"\bextern mod extra\b", block):
|
||||
block = "extern mod extra;\n" + block
|
||||
block = """#[ forbid(ctypes) ];
|
||||
#[ forbid(deprecated_pattern) ];
|
||||
#[ forbid(implicit_copies) ];
|
||||
|
|
|
|||
|
|
@ -431,6 +431,7 @@ pub fn main() {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use core::io;
|
||||
|
||||
fn repl() -> Repl {
|
||||
Repl {
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
use context::Ctx;
|
||||
use core::hashmap::HashMap;
|
||||
use core::path::Path;
|
||||
use core::prelude::*;
|
||||
use std::tempfile::mkdtemp;
|
||||
use util::{PkgId, default_version};
|
||||
use path_util::{target_executable_in_workspace, target_library_in_workspace,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue