Skip to content

Commit bdd3f8f

Browse files
author
Jonathan Turner
committed
Updating test I missed for old school refactor
1 parent 80f1c78 commit bdd3f8f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/test.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,9 @@ fn runtest(test: &str, cratename: &str, cfgs: Vec<String>, libs: SearchPaths,
229229
let data = Arc::new(Mutex::new(Vec::new()));
230230
let codemap = Rc::new(CodeMap::new());
231231
let emitter = errors::emitter::EmitterWriter::new(box Sink(data.clone()),
232-
None,
233-
codemap.clone());
232+
None,
233+
codemap.clone(),
234+
errors::snippet::FormatMode::EnvironmentSelected);
234235
let old = io::set_panic(box Sink(data.clone()));
235236
let _bomb = Bomb(data.clone(), old.unwrap_or(box io::stdout()));
236237

0 commit comments

Comments
 (0)