fix rust tests (#2090)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -22,7 +22,7 @@ mod test_examples_show {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nshow");
|
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nshow");
|
||||||
@ -117,7 +117,7 @@ mod test_examples_show {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_show {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_my_func {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nmyFunc");
|
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nmyFunc");
|
||||||
@ -117,7 +117,7 @@ mod test_examples_my_func {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nmyFunc");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nmyFunc");
|
||||||
|
@ -23,7 +23,7 @@ mod test_examples_import {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nimport");
|
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nimport");
|
||||||
@ -119,7 +119,7 @@ mod test_examples_import {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_line_to {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nlineTo");
|
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nlineTo");
|
||||||
@ -117,7 +117,7 @@ mod test_examples_line_to {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nlineTo");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nlineTo");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_min {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nmin");
|
let tokens = crate::token::lexer("This is another code block.\nyes sirrr.\nmin");
|
||||||
@ -117,7 +117,7 @@ mod test_examples_min {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nmin");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nmin");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_show {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_import {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_import {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_import {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nimport");
|
||||||
|
@ -22,7 +22,7 @@ mod test_examples_show {
|
|||||||
|
|
||||||
let ws = client
|
let ws = client
|
||||||
.modeling()
|
.modeling()
|
||||||
.commands_ws(None, None, None, None, None, Some(false))
|
.commands_ws(None, None, None, None, None, None, Some(false))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
let tokens = crate::token::lexer("This is code.\nIt does other shit.\nshow");
|
||||||
|
Reference in New Issue
Block a user