Skip to content

Commit

Permalink
Bump to C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Jan 25, 2021
1 parent 2c6fb98 commit a5cca9a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/app/execute_cpp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def cpp_file_url(base_url):

@pytest.fixture
def voila_args_extra():
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}', '--VoilaExecutor.timeout=240']
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++14"}', '--VoilaExecutor.timeout=240']


@pytest.fixture
Expand Down
4 changes: 2 additions & 2 deletions tests/notebooks/print.xcpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// format_version: '1.4'
// jupytext_version: 1.2.1
// kernelspec:
// display_name: C++11
// language: C++11
// display_name: C++14
// language: C++14
// name: xcpp11
// ---

Expand Down
4 changes: 2 additions & 2 deletions tests/notebooks/print_cpp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
],
"metadata": {
"kernelspec": {
"display_name": "C++11",
"language": "C++11",
"display_name": "C++14",
"language": "C++14",
"name": "xcpp11"
},
"language_info": {
Expand Down
2 changes: 1 addition & 1 deletion tests/server/execute_cpp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def cpp_file_url(base_url):

@pytest.fixture
def jupyter_server_args_extra():
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}']
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++14"}']


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/server/tree_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def voila_args(notebook_directory, voila_args_extra):

@pytest.fixture
def jupyter_server_args_extra():
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}']
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++14"}']


async def test_tree(http_server_client, base_url):
Expand Down

0 comments on commit a5cca9a

Please sign in to comment.