Commits

katox committed be75289

disambiguated decimal numbers in tests

  • Participants
  • Parent commits 232758a

Comments (0)

Files changed (2)

test/core/ManagerWithMySqlTest.fan

                                                      "given": "given name",
                                                      "initial": "m",
                                                      "family": "family name",
-                                                     "height": 123.45,
-                                                     "weight": 678.9])
+                                                     "height": 123.45d,
+                                                     "weight": 678.9d])
             sqlConn.commit
             rows = sqlConn.sql("SELECT * FROM person").query
             verifyEq(1, rows.size)
                           @longitude
                       )"""
             params := ["name": "location name",
-                       "latitude": 123.4,
-                       "longitude": 567.8]
+                       "latitude": 123.4d,
+                       "longitude": 567.8d]
             sqlConn.sql(sql).prepare.execute(params)
             sqlConn.commit
             rows = sqlConn.sql("SELECT * FROM location").query

test/core/ManagerWithPostgreSqlTest.fan

                                                      "given": "given name",
                                                      "initial": "m",
                                                      "family": "family name",
-                                                     "height": 123.45,
-                                                     "weight": 678.9])
+                                                     "height": 123.45d,
+                                                     "weight": 678.9d])
             sqlConn.commit
             rows = sqlConn.sql("SELECT * FROM person").query
             verifyEq(1, rows.size)
                           @longitude
                       )"""
             params := ["name": "location name",
-                       "latitude": 123.4,
-                       "longitude": 567.8]
+                       "latitude": 123.4d,
+                       "longitude": 567.8d]
             sqlConn.sql(sql).prepare.execute(params)
             sqlConn.commit
             rows = sqlConn.sql("SELECT * FROM location").query