[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55213] assert no longer prints expression tha
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #55213] assert no longer prints expression that fails when it is not a variable |
Date: |
Wed, 12 Dec 2018 12:16:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063 |
URL:
<https://savannah.gnu.org/bugs/?55213>
Summary: assert no longer prints expression that fails when
it is not a variable
Project: GNU Octave
Submitted by: rik5
Submitted on: Wed 12 Dec 2018 09:16:47 AM PST
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: Confirmed
Assigned to: jwe
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
After cset fc7b842daca1 the assert statement no longer prints the expression
that fails if the expression is not a variable.
Here is a quick test case uploaded in the file tst_assert.m
%!test
%! assert (get (0, "DefaultLineLineStyle"), "abc")
Old Behavior:
octave:1> test tst_assert
***** test
assert (get (0, "DefaultLineLineStyle"), "abc")
!!!!! test failed
ASSERT errors for: assert (get (0, "DefaultLineLineStyle"),"abc")
Location | Observed | Expected | Reason
[] - abc Strings don't match
New Behavior:
octave:1> test tst_assert
***** test
assert (get (0, "DefaultLineLineStyle"), "abc")
!!!!! test failed
ASSERT errors for: assert (,)
Location | Observed | Expected | Reason
[] - abc Strings don't match
octave:2>
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 12 Dec 2018 09:16:47 AM PST Name: tst_assert.m Size: 58B By:
rik5
<http://savannah.gnu.org/bugs/download.php?file_id=45635>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55213>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55213] assert no longer prints expression that fails when it is not a variable,
Rik <=