X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fformats.at;h=9e9d171ae4e6caa4bd86c4af349b0b71f6952468;hb=00d5ccd2b3072493b84dbf85b40467ef0a2c1df8;hp=93e135b10680dd812c22ce86ac61175992ede6be;hpb=f41e87501f3a3c600f4443033799b1689f84270a;p=pspp diff --git a/tests/language/dictionary/formats.at b/tests/language/dictionary/formats.at index 93e135b106..9e9d171ae4 100644 --- a/tests/language/dictionary/formats.at +++ b/tests/language/dictionary/formats.at @@ -84,20 +84,28 @@ x,A1 y,A2 z,A3 -"formats.sps:2: error: FORMATS: Output format E6.1 specifies 1 decimal place, but the given width does not allow for any decimals." +"formats.sps:2.12-2.15: error: FORMATS: Output format E6.1 specifies 1 decimal place, but the given width does not allow for any decimals. + 2 | FORMATS a (E6.1). + | ^~~~" "formats.sps:3.11: error: FORMATS: a and y are not the same type. All variables in this variable list must be of the same type. y will be omitted from the list. 3 | FORMATS a y (F4). | ^" -formats.sps:4: error: FORMATS: String variable x with width 1 is not compatible with format A2. +"formats.sps:4.12-4.13: error: FORMATS: String variable x with width 1 is not compatible with format A2. Use format A1 instead. + 4 | FORMATS x (A2). + | ^~" -formats.sps:5: error: FORMATS: String variable y with width 2 is not compatible with format AHEX2. +"formats.sps:5.12-5.16: error: FORMATS: String variable y with width 2 is not compatible with format AHEX2. Use format AHEX4 instead. + 5 | FORMATS y (AHEX2). + | ^~~~~" "formats.sps:6.11: error: FORMATS: x and y are string variables with different widths. All variables in this variable list must have the same width. y will be omitted from the list. 6 | FORMATS x y (A2). | ^" -formats.sps:6: error: FORMATS: String variable x with width 1 is not compatible with format A2. +"formats.sps:6.14-6.15: error: FORMATS: String variable x with width 1 is not compatible with format A2. Use format A1 instead. + 6 | FORMATS x y (A2). + | ^~" ]) AT_CLEANUP