bugGNU Octave - Bugs: bug #34127, collapsed test_io.m test...

 
 

bug #34127: collapsed test_io.m test (dev.source default branch)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Thu 25 Aug 2011 02:06:02 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Aug 2011 02:06:02 AM UTC, original submission:  

Hello

I have built dev source.

Latest chageset is


author        John W. Eaton <jwe@octave.org>
Wed Aug 24 14:25:42 2011 -0400 (3 hours ago)
changeset 13003        74c5fa5cef47
parent 13002        ad59cda5015c


I found new collapsed test_io.m test.

The changeset to correct the fault is



# HG changeset patch
# User Tatsuro Matsuoka <tmacchant@yahoo.co.jp>
# Date 1314237188 -32400
# Node ID 81727bb3bae97cc58ee876dcba88252b638708db
# Parent  74c5fa5cef475c2b6b4364c4b3ae27bac6324cbe
Correction of collapsed test_io.m test

diff -r 74c5fa5cef47 -r 81727bb3bae9 test/test_io.m
--- a/test/test_io.m    Wed Aug 24 14:25:42 2011 -0400
+++ b/test/test_io.m    Thu Aug 25 10:53:08 2011 +0900
@@ -246,22 +246,22 @@
 %!assert (sscanf ('123456', '%10s'), '123456')

 %!test
-%! [val, count, msg, pos] = sscanf ("3I2", "%f")
+%! [val, count, msg, pos] = sscanf ("3I2", "%f");
 %! assert (val, 3);
 %! assert (count, 1);
 %! assert (msg, "");
 %! assert (pos, 2);

 %!test
-%! [val, count, msg, pos] = sscanf ("3In2", "%f")
+%! [val, count, msg, pos] = sscanf ("3In2", "%f");
 %! assert (val, 3);
 %! assert (count, 1);
 %! assert (msg, "");
 %! assert (pos, 2);

 %!test
-%! [val, count, msg, pos] = sscanf ("3Inf2", "%f")
-%! assert (val, [3; Inf, 2);
+%! [val, count, msg, pos] = sscanf ("3Inf2", "%f");
+%! assert (val, [3; Inf; 2]);
 %! assert (count, 3);
 %! assert (msg, "");
 %! assert (pos, 6);


Regards

Tatsuro

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-26 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code