mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 05:51:32 +01:00
Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation Starting with converting over tests in the `extensions` dir
This commit is contained in:
@@ -9,24 +9,24 @@ import * as vscode from 'vscode';
|
||||
import { assertNoRpc, closeAllEditors, createRandomFile } from '../utils';
|
||||
|
||||
const ipynbContent = JSON.stringify({
|
||||
"cells": [
|
||||
'cells': [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"source": ["## Header"],
|
||||
"metadata": {}
|
||||
'cell_type': 'markdown',
|
||||
'source': ['## Header'],
|
||||
'metadata': {}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"source": ["print('hello 1')\n", "print('hello 2')"],
|
||||
"outputs": [
|
||||
'cell_type': 'code',
|
||||
'execution_count': 2,
|
||||
'source': [`print('hello 1')\n`, `print('hello 2')`],
|
||||
'outputs': [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": ["hello 1\n", "hello 2\n"]
|
||||
'output_type': 'stream',
|
||||
'name': 'stdout',
|
||||
'text': ['hello 1\n', 'hello 2\n']
|
||||
}
|
||||
],
|
||||
"metadata": {}
|
||||
'metadata': {}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user