[Bug 1442157] Review Request: nodejs-center-align - Center-align the text in a string

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1442157

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebob.m@xxxxxxxxx



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
Tests fail:

+ /usr/bin/mocha -R spec
  center-align

    ✓ should center align the strings in an array of strings

    1) should center align a string to the expected width

    2) should center align a string to the given width

    ✓ should center align the lines in a string
  2 passing (14ms)
  2 failing
  1) center-align should center align a string to the expected width:
      AssertionError [ERR_ASSERTION]: [ '     Lorem ipsum dolor sit amet,',
  '        consectetur adipiscing',
  'elit, sed do eiusmod tempor incididunt',
  '        deepEqual [ '      Lorem ipsum dolor sit amet,',
  '         consectetur adipiscing',
  ' elit, sed do eiusmod tempor incididunt',
  '    
      + expected - actual
       [
      +  "      Lorem ipsum dolor sit amet,"
      +  "         consectetur adipiscing"
      +  " elit, sed do eiusmod tempor incididunt"
      +  "          ut labore et dolore"
      +  "     magna aliqua. Ut enim ad minim"
      +  "              veniam, quis"
      -  "     Lorem ipsum dolor sit amet,"
      -  "        consectetur adipiscing"
      -  "elit, sed do eiusmod tempor incididunt"
      -  "         ut labore et dolore"
      -  "    magna aliqua. Ut enim ad minim"
      -  "             veniam, quis"
       ]

      at Context.<anonymous> (test.js:38:12)
  2) center-align should center align a string to the given width:
      AssertionError [ERR_ASSERTION]: 'foo' deepEqual '   foo   '
      + expected - actual
      +   foo   
      -foo

      at Context.<anonymous> (test.js:58:12)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux