@@ -80,7 +80,7 @@ fn default_config(input_crate: ~str) -> config {
80
80
type program_output = fn ~( ( & str) , ( & [ ~str] ) ) ->
81
81
{ status: int, out: ~str , err: ~str } ;
82
82
83
- fn mock_program_output( _prog: ~ str , _args: ~ [ ~str ] ) -> {
83
+ fn mock_program_output( _prog: & str, _args: & [ ~str] ) -> {
84
84
status: int, out: ~str , err: ~str
85
85
} {
86
86
{
@@ -231,7 +231,7 @@ fn should_find_pandoc() {
231
231
output_format : pandoc_html
232
232
with default_config( ~"test")
233
233
} ;
234
- let mock_program_output = fn ~( _prog: ~ str , _args: ~ [ ~str ] ) -> {
234
+ let mock_program_output = fn ~( _prog: & str, _args: & [ ~str] ) -> {
235
235
status: int, out: ~str , err: ~str
236
236
} {
237
237
{
@@ -248,7 +248,7 @@ fn should_error_with_no_pandoc() {
248
248
output_format : pandoc_html
249
249
with default_config( ~"test")
250
250
} ;
251
- let mock_program_output = fn ~( _prog: ~ str , _args: ~ [ ~str ] ) -> {
251
+ let mock_program_output = fn ~( _prog: & str, _args: & [ ~str] ) -> {
252
252
status: int, out: ~str , err: ~str
253
253
} {
254
254
{
0 commit comments