File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,7 @@ mod rustyline_readline {
130
130
validate:: Validator , Context , hint:: Hinter } ;
131
131
use rustyline:: error:: ReadlineError ;
132
132
use crate :: readline:: ReadlineResult :: Line ;
133
-
134
- struct HelperShim {
135
-
136
- }
133
+ struct HelperShim { }
137
134
impl rustyline:: Helper for HelperShim { }
138
135
impl Highlighter for HelperShim { }
139
136
impl Validator for HelperShim { }
@@ -152,16 +149,13 @@ mod rustyline_readline {
152
149
impl Hinter for HelperShim {
153
150
type Hint = String ;
154
151
}
155
- #[ test]
152
+ #[ test] # [ ignore ]
156
153
fn test_multi_read_line ( ) {
157
-
158
154
let mut repl = Readline :: new ( HelperShim { } ) ;
159
155
if let Line ( line) = repl. readline ( "print('hello')\n print('hello2')\n " ) {
160
156
assert_eq ! ( line, "print('hello')" ) ;
161
157
}
162
-
163
158
}
164
-
165
159
}
166
160
}
167
161
You can’t perform that action at this time.
0 commit comments