From c73560028df211faaf98de1b639c88278d26a48c Mon Sep 17 00:00:00 2001 From: NaveenKarippai Date: Sun, 29 May 2016 16:16:31 +0000 Subject: [PATCH] Adapt test suite for checking single query input The sort_goodie test suite does not contain test cases to check for single input (number) queries. It would be necessary to add test cases to check for such situations. * added test case to check for single input (number) query See also: #3144 --- t/Sort.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/Sort.t b/t/Sort.t index 28e6d5338..f61b5d22c 100755 --- a/t/Sort.t +++ b/t/Sort.t @@ -32,6 +32,8 @@ ddg_goodie_test( 'sort -3 -10 56 10' => build_test('-3, -10, 56, 10','ascendingly', '-10, -3, 10, 56'), 'sort descending 10, -1, +5.3, -95, 1' => build_test('10, -1, 5.3, -95, 1', 'descendingly', '10, 5.3, 1, -1, -95'), 'sort descending 10, -1, +5.3, -95, 1, 1e2' => build_test('10, -1, 5.3, -95, 1, 100', 'descendingly', '100, 10, 5.3, 1, -1, -95'), + 'sort 1' => undef, + 'sort 455' => undef, 'sort algorithm' => undef, 'sort 1 fish, 2 fish' => undef, 'sort' => undef,