From eab1720085ba9e785743cb925bcb71861758c439 Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Mon, 2 Mar 2020 18:10:24 -0500 Subject: [PATCH] test/acceptance.nbconvert.in.ipynb: update --- test/acceptance.nbconvert.in.ipynb | 130 ++++++++++++++++++++++++++++- 1 file changed, 126 insertions(+), 4 deletions(-) diff --git a/test/acceptance.nbconvert.in.ipynb b/test/acceptance.nbconvert.in.ipynb index e219a8dc..7cce3ed8 100644 --- a/test/acceptance.nbconvert.in.ipynb +++ b/test/acceptance.nbconvert.in.ipynb @@ -989,6 +989,128 @@ ":help" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Test `:sprint`" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "'d'" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "x = 'a' : 'b' : 'c' : 'd' : _\n", + "" + ], + "text/plain": [ + "x = 'a' : 'b' : 'c' : 'd' : _" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "x = ['a'..'z']\n", + "x !! 3\n", + ":sprint x" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -1000,7 +1122,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 16, "metadata": {}, "outputs": [], "source": [ @@ -1023,7 +1145,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 17, "metadata": {}, "outputs": [ { @@ -1062,7 +1184,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 18, "metadata": {}, "outputs": [ { @@ -1089,7 +1211,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 19, "metadata": {}, "outputs": [ {