[m-rev.] trivial diff: fix failing format string tests

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Dec 26 18:13:12 AEDT 2006


Estimated hours taken: 0.1
Branches: main

Fix a couple of failing test cases.

tests/invalid/string_format_bad.err_exp:
tests/invalid/string_format_unknown.err_exp:
 	Conform to recent changes in the standard library.

Julien.

Index: string_format_bad.err_exp
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/invalid/string_format_bad.err_exp,v
retrieving revision 1.2
diff -u -r1.2 string_format_bad.err_exp
--- string_format_bad.err_exp	9 Nov 2006 00:47:27 -0000	1.2
+++ string_format_bad.err_exp	26 Dec 2006 07:07:45 -0000
@@ -9,7 +9,7 @@
  string_format_bad.m:027: Mismatched format and values in call to `io.format'/5:
  string_format_bad.m:027:   invalid conversion specifier.
  string_format_bad.m:028: Mismatched format and values in call to
-string_format_bad.m:028:   `stream.format'/5:
+string_format_bad.m:028:   `stream.string_writer.format'/5:
  string_format_bad.m:028:   invalid conversion specifier.
  string_format_bad.m:029: Mismatched format and values in call to `io.format'/4:
  string_format_bad.m:029:   invalid conversion specifier.
Index: string_format_unknown.err_exp
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/invalid/string_format_unknown.err_exp,v
retrieving revision 1.2
diff -u -r1.2 string_format_unknown.err_exp
--- string_format_unknown.err_exp	9 Nov 2006 00:47:27 -0000	1.2
+++ string_format_unknown.err_exp	26 Dec 2006 07:09:10 -0000
@@ -1,20 +1,20 @@
-string_format_unknown.m:022: Unknown format string in call to
-string_format_unknown.m:022:   `string.format'/3.
-string_format_unknown.m:024: Mismatched format and values in call to
-string_format_unknown.m:024:   `string.format'/3:
-string_format_unknown.m:024:   invalid conversion specifier.
-string_format_unknown.m:027: Mismatched format and values in call to
-string_format_unknown.m:027:   `io.format'/4:
-string_format_unknown.m:027:   invalid conversion specifier.
+string_format_unknown.m:023: Unknown format string in call to
+string_format_unknown.m:023:   `string.format'/3.
+string_format_unknown.m:025: Mismatched format and values in call to
+string_format_unknown.m:025:   `string.format'/3:
+string_format_unknown.m:025:   invalid conversion specifier.
  string_format_unknown.m:028: Mismatched format and values in call to
-string_format_unknown.m:028:   `io.format'/5:
+string_format_unknown.m:028:   `io.format'/4:
  string_format_unknown.m:028:   invalid conversion specifier.
  string_format_unknown.m:029: Mismatched format and values in call to
-string_format_unknown.m:029:   `io.format'/4:
+string_format_unknown.m:029:   `io.format'/5:
  string_format_unknown.m:029:   invalid conversion specifier.
-string_format_unknown.m:039: Unknown format values in call to `io.format'/5.
-string_format_unknown.m:040: Unknown format values in call to
-string_format_unknown.m:040:   `stream.format'/5.
-string_format_unknown.m:045: Mismatched format and values in call to
-string_format_unknown.m:045:   `io.format'/5:
-string_format_unknown.m:045:   invalid conversion specifier.
+string_format_unknown.m:030: Mismatched format and values in call to
+string_format_unknown.m:030:   `io.format'/4:
+string_format_unknown.m:030:   invalid conversion specifier.
+string_format_unknown.m:040: Unknown format values in call to `io.format'/5.
+string_format_unknown.m:041: Unknown format values in call to
+string_format_unknown.m:041:   `stream.string_writer.format'/5.
+string_format_unknown.m:046: Mismatched format and values in call to
+string_format_unknown.m:046:   `io.format'/5:
+string_format_unknown.m:046:   invalid conversion specifier.

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list