Opened 12 years ago

Closed 11 years ago

#6249 closed enhancement (fixed)

[patch][cla] I need doh.assertNotEqual to test if value != null for example

Reported by: harobed Owned by: dylan
Priority: low Milestone: 1.2
Component: TestFramework Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by dylan)

Hi,

I've this code :

doh.register("t",
[
    function test1(t) {
        foo = function() { ... };
        
        // I would like do this :
        t.assertNotEqual(null, foo);
    }
]
);

Thanks for your comment.

Attachments (1)

diff.js (1.7 KB) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 in reply to:  description Changed 12 years ago by guest

Sorry, I would like to write t.assertNotEqual(null, foo) and not t.assertNotEquel(null, foo);

Changed 12 years ago by guest

Attachment: diff.js added

comment:2 Changed 12 years ago by guest

I've added my patch to add assertNotEqual.

comment:3 Changed 12 years ago by harobed

Reporter: changed from guest to harobed

comment:4 Changed 12 years ago by harobed

Description: modified (diff)

comment:5 Changed 11 years ago by dylan

Description: modified (diff)
Milestone: future
Summary: I need doh.assertNotEqual to test if value != null for example[patch][needs cla] I need doh.assertNotEqual to test if value != null for example

harobed, what is your real world name?

comment:6 Changed 11 years ago by dylan

Summary: [patch][needs cla] I need doh.assertNotEqual to test if value != null for example[patch][cla] I need doh.assertNotEqual to test if value != null for example

patch from Stephane Klein

comment:7 Changed 11 years ago by dylan

Milestone: future1.2
Owner: changed from alex to dylan
Status: newassigned

comment:8 Changed 11 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [14309]) fixes #6249, add doh.assertNotEqual, thanks harobed for the patch/cla, \!strict

Note: See TracTickets for help on using tickets.