We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa11f3 commit 83c0266Copy full SHA for 83c0266
tests.rs
@@ -132,7 +132,7 @@ fn one_rule() {
132
fn run_color_tests(json_data: &str, to_json: &fn(result: Option<Color>) -> json::Json) {
133
do run_json_tests(json_data) |input| {
134
match parse_one_component_value(tokenize(input)) {
135
- Ok(component_value) => to_json(parse_color(&component_value)),
+ Ok(component_value) => to_json(Color::parse(&component_value)),
136
Err(_reason) => json::Null,
137
}
138
0 commit comments