Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Feb 8, 2024
1 parent 3863853 commit e619a72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/hooks/tests/use_editable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use freya_testing::{
#[tokio::test]
pub async fn multiple_lines_single_editor() {
fn use_editable_app() -> Element {
let editable = use_editable(
let mut editable = use_editable(
|| EditableConfig::new("Hello Rustaceans".to_string()),
EditableMode::MultipleLinesSingleEditor,
);
Expand Down Expand Up @@ -114,7 +114,7 @@ pub async fn multiple_lines_single_editor() {
#[tokio::test]
pub async fn single_line_mulitple_editors() {
fn use_editable_app() -> Element {
let editable = use_editable(
let mut editable = use_editable(
|| EditableConfig::new("Hello Rustaceans\nHello World".to_string()),
EditableMode::SingleLineMultipleEditors,
);
Expand Down Expand Up @@ -226,7 +226,7 @@ pub async fn single_line_mulitple_editors() {
#[tokio::test]
pub async fn highlight_multiple_lines_single_editor() {
fn use_editable_app() -> Element {
let editable = use_editable(
let mut editable = use_editable(
|| EditableConfig::new("Hello Rustaceans\n".repeat(2)),
EditableMode::MultipleLinesSingleEditor,
);
Expand Down Expand Up @@ -320,7 +320,7 @@ pub async fn highlight_multiple_lines_single_editor() {
#[tokio::test]
pub async fn highlights_single_line_mulitple_editors() {
fn use_editable_app() -> Element {
let editable = use_editable(
let mut editable = use_editable(
|| EditableConfig::new("Hello Rustaceans\n".repeat(2)),
EditableMode::SingleLineMultipleEditors,
);
Expand Down

0 comments on commit e619a72

Please sign in to comment.