diff --git a/examples/scala/minimal/default.nix b/examples/scala/minimal/default.nix deleted file mode 100644 index 611803bd..00000000 --- a/examples/scala/minimal/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{pkgs, ...}: { - kernel.scala.minimal-example = { - enable = true; - }; -} diff --git a/examples/scala/minimal/test.ipynb b/examples/scala/minimal/test.ipynb deleted file mode 100644 index c2c97647..00000000 --- a/examples/scala/minimal/test.ipynb +++ /dev/null @@ -1,47 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "49bf3a4f-602b-4a1b-bd47-50c57a1985d5", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "hello scala\n" - ] - } - ], - "source": [ - "println(\"hello scala\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "444374eb-2e7c-4d6d-ae2e-0aac0c927d68", - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Example Scala Kernel", - "language": "scala", - "name": "example_scala" - }, - "language_info": { - "codemirror_mode": "text/x-scala", - "file_extension": ".sc", - "mimetype": "text/x-scala", - "name": "scala", - "nbconvert_exporter": "script", - "version": "2.13.8" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/examples/scala/minimal/test.py b/examples/scala/minimal/test.py deleted file mode 100644 index c2080843..00000000 --- a/examples/scala/minimal/test.py +++ /dev/null @@ -1,15 +0,0 @@ -import os -from testbook import testbook - -current_dir = os.path.dirname(os.path.abspath(__file__)) - -@testbook(f'{current_dir}/test.ipynb', execute=True, kernel_name="scala-minimal-example") -def test_nb(tb): - result = tb.cell_output_text(0) - print("Output:") - print(result) - assert result == "hello scala" - -if __name__ == '__main__': - test_nb() -