Skip to content
Snippets Groups Projects
Commit f971c18f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2449147 by Island Usurper: Backwards logic in a comment in a test

parent cc54a481
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -365,8 +365,8 @@ function testSchemaAddField() { ...@@ -365,8 +365,8 @@ function testSchemaAddField() {
// Test numeric types. // Test numeric types.
foreach (array(1, 5, 10, 40, 65) as $precision) { foreach (array(1, 5, 10, 40, 65) as $precision) {
foreach (array(0, 2, 10, 30) as $scale) { foreach (array(0, 2, 10, 30) as $scale) {
// Skip combinations where precision is smaller than scale.
if ($precision <= $scale) { if ($precision <= $scale) {
// Precision must be smaller then scale.
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment