diff --git a/tests/json.rs b/tests/json.rs index fa8cf01892..094837a894 100644 --- a/tests/json.rs +++ b/tests/json.rs @@ -1566,58 +1566,3 @@ fn doc_attribute_overrides_comment() { }, ); } - -#[test] -fn doc_attribute_overrides_comment() { - case( - " - # COMMENT - [doc('ATTRIBUTE')] - foo: - ", - json!({ - "aliases": {}, - "assignments": {}, - "first": "foo", - "doc": null, - "groups": [], - "modules": {}, - "recipes": { - "foo": { - "attributes": [{"doc": "ATTRIBUTE"}], - "body": [], - "dependencies": [], - "doc": "ATTRIBUTE", - "name": "foo", - "namepath": "foo", - "parameters": [], - "priors": 0, - "private": false, - "quiet": false, - "shebang": false, - } - }, - "settings": { - "allow_duplicate_recipes": false, - "allow_duplicate_variables": false, - "dotenv_filename": null, - "dotenv_load": false, - "dotenv_path": null, - "dotenv_required": false, - "export": false, - "fallback": false, - "ignore_comments": false, - "positional_arguments": false, - "quiet": false, - "shell": null, - "tempdir" : null, - "unstable": false, - "windows_powershell": false, - "windows_shell": null, - "working_directory" : null, - }, - "unexports": [], - "warnings": [], - }), - ); -}