Ticket #6249 (closed enhancement: fixed)

Opened 5 months ago

Last modified 6 weeks ago

[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
Severity: normal Keywords:
Cc:

Description (last modified by dylan) (diff)

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

diff.js (1.7 kB) - added by guest 5 months ago.

Change History

in reply to: ↑ description   Changed 5 months ago by guest

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

Changed 5 months ago by guest

  Changed 5 months ago by guest

I've added my patch to add assertNotEqual.

  Changed 5 months ago by harobed

  • reporter changed from guest to harobed

  Changed 5 months ago by harobed

  • description modified (diff)

  Changed 7 weeks ago by dylan

  • summary changed from I need doh.assertNotEqual to test if value != null for example to [patch][needs cla] I need doh.assertNotEqual to test if value != null for example
  • description modified (diff)
  • milestone set to future

harobed, what is your real world name?

  Changed 7 weeks ago by dylan

  • summary changed from [patch][needs cla] I need doh.assertNotEqual to test if value != null for example to [patch][cla] I need doh.assertNotEqual to test if value != null for example

patch from Stephane Klein

  Changed 6 weeks ago by dylan

  • status changed from new to assigned
  • owner changed from alex to dylan
  • milestone changed from future to 1.2

  Changed 6 weeks ago by dylan

  • status changed from assigned to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.