From 46ed0c02be46324cb74df31b35bcc2b05b5d5bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 8 Apr 2020 12:31:12 +0200 Subject: [PATCH] truthy: Add missing test removed from PR See https://github.com/adrienverge/yamllint/pull/247#discussion_r405421376. --- tests/rules/test_truthy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/rules/test_truthy.py b/tests/rules/test_truthy.py index 1c87184..9229253 100644 --- a/tests/rules/test_truthy.py +++ b/tests/rules/test_truthy.py @@ -138,5 +138,9 @@ class TruthyTestCase(RuleTestCase): 'on: 0\n' 'OFF: 0\n' 'Off: 0\n' - 'off: 0\n', + 'off: 0\n' + 'YES:\n' + ' Yes:\n' + ' yes:\n' + ' on: 0\n', conf)