File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ libcssparser.dummy: cssparser.rc $(RUST_SRC)
18
18
touch $@
19
19
20
20
cssparser-test : cssparser.rc $(RUST_SRC )
21
- $(RUSTC ) $(RUSTFLAGS ) $< --out-dir . --test
21
+ $(RUSTC ) $(RUSTFLAGS ) $< -o $@ --test
22
22
23
23
.PHONY : check
24
24
check : cssparser-test
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ fn one_rule() {
132
132
fn run_color_tests(json_data: &str, to_json: &fn(result: Option<Color>) -> json::Json) {
133
133
do run_json_tests(json_data) |input| {
134
134
match parse_one_component_value(tokenize(input)) {
135
- Ok(component_value) => to_json(parse_color (&component_value)),
135
+ Ok(component_value) => to_json(Color::parse (&component_value)),
136
136
Err(_reason) => json::Null,
137
137
}
138
138
}
You can’t perform that action at this time.
0 commit comments