@@ -75,6 +75,8 @@ def write ( f , left, right , name , t , ispow = False , isn = False , isi = Fal
7575    f .write ("import test from 'ava' ;\n " )
7676    f .write ("import {{ parse , stringify , {} }} from '../../../../src' ;\n \n " .format (name ))
7777
78+     f .write ("const fmt = x => x.length <= 40 ? x : x.slice(0,19) + '..' + x.slice(-19);\n \n " )
79+ 
7880    if  outputsize  ==  2  :
7981
8082        if  isn  :
@@ -124,20 +126,20 @@ def write ( f , left, right , name , t , ispow = False , isn = False , isi = Fal
124126
125127    if  outputsize  ==  2  :
126128
127-         f .write ("macro.title = ( _ , A , B , C , D ) => `{}(${{A}},${{B}}) = [${{C}},${{D}}]` ;\n \n " .format (name ))
128- 
129129        if  isn :
130+             f .write ("macro.title = ( _ , A , B , C , D ) => `{}(${{fmt(A)}},${{B}}) = [${{fmt(C)}},${{fmt(D)}}]` ;\n \n " .format (name ))
130131            LINE  =  "test( macro , '{}' , {} , '{}' , '{}' ) ;\n " 
131132        else :
133+             f .write ("macro.title = ( _ , A , B , C , D ) => `{}(${{fmt(A)}},${{fmt(B)}}) = [${{fmt(C)}},${{fmt(D)}}]` ;\n \n " .format (name ))
132134            LINE  =  "test( macro , '{}' , '{}' , '{}' , '{}' ) ;\n " 
133135
134136    else :
135137
136-         f .write ("macro.title = ( _ , A , B , C ) => `{}(${{A}},${{B}}) = ${{C}}` ;\n \n " .format (name ))
137- 
138138        if  isn :
139+             f .write ("macro.title = ( _ , A , B , C ) => `{}(${{fmt(A)}},${{B}}) = ${{fmt(C)}}` ;\n \n " .format (name ))
139140            LINE  =  "test( macro , '{}' , {} , '{}' ) ;\n " 
140141        else :
142+             f .write ("macro.title = ( _ , A , B , C ) => `{}(${{fmt(A)}},${{fmt(B)}}) = ${{fmt(C)}}` ;\n \n " .format (name ))
141143            LINE  =  "test( macro , '{}' , '{}' , '{}' ) ;\n " 
142144
143145    for  a  in  left  :
0 commit comments