Skip to content

Commit 83c0266

Browse files
committed
Fix a test
1 parent dfa11f3 commit 83c0266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fn one_rule() {
132132
fn run_color_tests(json_data: &str, to_json: &fn(result: Option<Color>) -> json::Json) {
133133
do run_json_tests(json_data) |input| {
134134
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)),
136136
Err(_reason) => json::Null,
137137
}
138138
}

0 commit comments

Comments
 (0)