From d96c97907fd15c05e3850dc2b4192fc3644a56f5 Mon Sep 17 00:00:00 2001 From: Emily Michaud <59289146+emichaud998@users.noreply.github.com> Date: Wed, 1 Nov 2023 09:37:22 -0400 Subject: [PATCH] Fix typo in optional? method in search test generator --- .../generator/search_test_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb b/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb index d9cbc427..69c24b68 100644 --- a/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +++ b/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb @@ -137,7 +137,7 @@ def required_comparators end def optional? - conformance_expectation != 'SHALL' || search_metadata[:must_support_or_mandatory] + conformance_expectation != 'SHALL' || !search_metadata[:must_support_or_mandatory] end def search_definition(name)