about summary refs log tree commit diff
path: root/src/libstd/sys/windows/process.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-31 18:59:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-01 00:36:26 -0700
commit8dff0ac143a689b7a1e04e55273d3f006b8369d1 (patch)
treed8c010a3bf50657f6ffe46410948f7e53d81f72f /src/libstd/sys/windows/process.rs
parent6ebb6e60b978ae3b27a0861d6d8eace03c7fce93 (diff)
downloadrust-8dff0ac143a689b7a1e04e55273d3f006b8369d1.tar.gz
rust-8dff0ac143a689b7a1e04e55273d3f006b8369d1.zip
Test fixes and rebase conflicts
Diffstat (limited to 'src/libstd/sys/windows/process.rs')
-rw-r--r--src/libstd/sys/windows/process.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs
index 414083bc41f..b10042090dd 100644
--- a/src/libstd/sys/windows/process.rs
+++ b/src/libstd/sys/windows/process.rs
@@ -487,9 +487,9 @@ mod tests {
     #[test]
     fn test_make_command_line() {
         fn test_wrapper(prog: &str, args: &[&str]) -> String {
-            make_command_line(&CString::new(prog),
+            make_command_line(&CString::new(prog).unwrap(),
                               &args.iter()
-                                   .map(|a| CString::new(a))
+                                   .map(|a| CString::new(*a).unwrap())
                                    .collect::<Vec<CString>>())
         }