Jonas Maebe 23 years ago
parent
commit
cc3c8605e0
1 changed files with 13 additions and 0 deletions
  1. 13 0
      tests/webtbs/tw2131.pp

+ 13 - 0
tests/webtbs/tw2131.pp

@@ -0,0 +1,13 @@
+program bug2131;
+
+var
+  TestStr : string;
+begin
+  Str (1.789e12:1, TestStr);
+  if (teststr <> ' 1.8E+0012') then
+    begin
+      writeln('error, got "',teststr,'" expected " 1.8E+0012"');
+      halt(1);
+    end
+end.
+