import * as RA from '../src';
import eq from './shared/eq';

describe('isNonEmptyString', function() {
  it('tests a value to be an empty `String`', function() {
    eq(RA.isNonEmptyString('42'), true);

    eq(RA.isNonEmptyString(''), false);
    eq(RA.isNonEmptyString(new String('42')), false);
    eq(RA.isNonEmptyString(new String('')), false);
    eq(RA.isNonEmptyString(String.prototype), false);
    eq(RA.isNonEmptyString([]), false);
    eq(RA.isNonEmptyString([42]), false);
    eq(RA.isNonEmptyString(void 0), false);
    eq(RA.isNonEmptyString({}), false);
    eq(RA.isNonEmptyString(null), false);
    eq(RA.isNonEmptyString(undefined), false);
    eq(RA.isNonEmptyString(17), false);
    eq(RA.isNonEmptyString(true), false);
    eq(RA.isNonEmptyString(false), false);
  });
});

@@ -1,12 +1,43 @@
+import %7B assert %7D from 'chai';%0A
 import * as 
@@ -41,42 +41,46 @@
 as R
-A
  from '
-../src
+ramda
 ';%0A
+%0A
 import 
-eq
+* as RA
  from '.
 /sha
@@ -79,18 +79,13 @@
 m '.
+.
 /s
-hared/eq
+rc
 ';%0A%0A
@@ -132,41 +132,33 @@
 %7B%0A  
-it('tests a value to be a
+context('given no
 n empty 
 %60Str
@@ -157,16 +157,61 @@
 pty 
-%60S
+s
 tring
-%60
+', function() %7B%0A    specify('should return true
 ', f
@@ -222,26 +222,39 @@
 ion() %7B%0A    
+  assert.isTru
 e
-q
 (RA.isNonEmp
@@ -267,28 +267,176 @@
 ng('
-42'), true);%0A%0A    eq
+non empty string'));%0A    %7D);%0A  %7D);%0A%0A  context('given empty string or any other value', function() %7B%0A    specify('should return false', function() %7B%0A      assert.isFalse
 (RA.
@@ -455,32 +455,39 @@
 ring('')
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -516,32 +516,39 @@
 g('42'))
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -575,32 +575,39 @@
 ing(''))
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -636,32 +636,39 @@
 ototype)
-, false
 );%0A    
+ 
+ assert.isFals
 e
-q
 (RA.isNo
@@ -683,32 +683,39 @@
 ring(%5B%5D)
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -732,32 +732,39 @@
 ng(%5B42%5D)
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -783,32 +783,39 @@
 (void 0)
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -830,32 +830,39 @@
 ring(%7B%7D)
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.isNo
@@ -879,32 +879,39 @@
 ng(null)
-, false
 );%0A    
+ 
+ assert.isFals
 e
-q
 (RA.isNo
@@ -933,32 +933,39 @@
 defined)
-, false
 );%0A    
+  
+assert.isFals
 e
-q
 (RA.isNo
@@ -980,32 +980,39 @@
 ring(17)
-, false
 );%0A    
+  
+assert.isFals
 e
-q
 (RA.isNo
@@ -1033,24 +1033,31 @@
 rue)
-, false);%0A    eq
+);%0A      assert.isFalse
 (RA.
@@ -1083,15 +1083,203 @@
 lse)
-, false
+);%0A    %7D);%0A  %7D);%0A%0A  it('should support placeholder to specify %22gaps%22', function() %7B%0A    const isNonEmptyString = RA.isNonEmptyString(R.__);%0A%0A    assert.isTrue(isNonEmptyString('non empty string')
 );%0A 

make tests consistent