octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34127] collapsed test_io.m test (dev.source d


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #34127] collapsed test_io.m test (dev.source default branch)
Date: Thu, 25 Aug 2011 02:06:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1

URL:
  <http://savannah.gnu.org/bugs/?34127>

                 Summary: collapsed test_io.m test (dev.source default branch)
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2011年08月25日 02時06分02秒
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hello

I have built dev source.

Latest chageset is


author  John W. Eaton <address@hidden>
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 <address@hidden>
# 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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34127>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]