From 52c080749e481307ecb52489827b3db25f9cac5d Mon Sep 17 00:00:00 2001 From: Massimo Santini Date: Thu, 9 Feb 2017 02:19:33 +0100 Subject: [PATCH] Fixing paths and file names, closes #1 --- .gitignore | 1 + bin/mkdist | 2 +- src/cuv.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 16d3c4d..369e6eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +release .cache diff --git a/bin/mkdist b/bin/mkdist index ebf939f..855eb0d 100755 --- a/bin/mkdist +++ b/bin/mkdist @@ -9,4 +9,4 @@ else fi cd zerve ./make_zerve ../../src -cp zerve ../../bin/zv +cp zerve ../../release/sv diff --git a/src/cuv.js b/src/cuv.js index 916622e..02057ac 100644 --- a/src/cuv.js +++ b/src/cuv.js @@ -69,7 +69,7 @@ function update_case( delta ) { var cur = cases[ current.case ]; $case.text( cur.name ); var res = []; - $.each( [ 'args', 'input', 'output', 'actual', 'errors', 'diffs' ], function( i, e ) { + $.each( [ 'args', 'input', 'expected', 'actual', 'errors', 'diffs' ], function( i, e ) { if ( cur[ e ] === null ) return; var lines = cur[ e ].split( '\n' ); var content = lines.length > MAX_NUM_LINES ? lines.slice( 0, MAX_NUM_LINES ).join( '\n' ) + '\n<>\n': lines.join( '\n' );