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

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

[Octave-bug-tracker] [bug #55539] "format long" breaks corefcn/pr-output


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55539] "format long" breaks corefcn/pr-output.cc-tst test
Date: Mon, 21 Jan 2019 15:03:41 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Update of bug #55539 (project octave):

                  Status:                    None => Confirmed              
                 Release:                   4.4.1 => 5.0.1                  

    _______________________________________________________

Follow-up Comment #2:

Confirmed, should be fixed on stable for 5 release.

The two tests that fail are for 'evalc', and both rely on the default 'short'
format state:


>>>>> processing libinterp/corefcn/pr-output.cc-tst
***** test
 str = evalc ("x = 1.1; display (x)");
 assert (str, "x =  1.1000\n");
!!!!! test failed
ASSERT errors for:  assert (str,"x =  1.1000\n")

  Location  |  Observed  |  Expected  |  Reason
     []      x =  1.100000000000000
 x =  1.1000
   Strings don't match
***** test
 str = evalc ("display (1.1)");
 assert (str, " 1.1000\n");
!!!!! test failed
ASSERT errors for:  assert (str," 1.1000\n")

  Location  |  Observed  |  Expected  |  Reason
     []       1.100000000000000
    1.1000
     Strings don't match


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55539>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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