Merge branch 'MDL-68615' of https://github.com/timhunt/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 6 May 2020 08:07:28 +0000 (10:07 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 6 May 2020 08:07:28 +0000 (10:07 +0200)
lib/tests/questionlib_test.php

index 2347fb6..59a2bcb 100644 (file)
@@ -2157,8 +2157,13 @@ class core_questionlib_testcase extends advanced_testcase {
             ['id999', 'id1000'],
             ['0', '1'],
             ['-1', '-2'],
+            ['01', '02'],
+            ['09', '10'],
             ['1.0E+29', '1.0E+30'], // Idnumbers are strings, not floats.
             ['1.0E-29', '1.0E-30'], // By the way, this is not a sensible idnumber!
+            ['10.1', '10.2'],
+            ['10.9', '10.10'],
+
         ];
     }