Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayka committed May 14, 2024
1 parent d6e48f6 commit 31fe543
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
38 changes: 27 additions & 11 deletions tests/_cli/snapshots/ipynb.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
---
title: Notebook
marimo-version: 0.5.2
---
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "cee3eba2",
"metadata": {},
"outputs": [],
"source": [
"import marimo as mo"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "bbb9a3bf",
"metadata": {},
"outputs": [],
"source": [
"slider = mo.ui.slider(0, 10)"
]
}
],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}

```{.python.marimo}
import marimo as mo
```

```{.python.marimo}
slider = mo.ui.slider(0, 10)
```
2 changes: 1 addition & 1 deletion tests/_cli/test_cli_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class TestExportIpynb:
)
def test_export_ipynb(self, temp_marimo_file: str) -> None:
p = subprocess.run(
["marimo", "export", "md", temp_marimo_file],
["marimo", "export", "ipynb", temp_marimo_file],
capture_output=True,
)
assert p.returncode == 0, p.stderr.decode()
Expand Down

0 comments on commit 31fe543

Please sign in to comment.