Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry committed Dec 11, 2023
1 parent 6dbf39e commit 5f87961
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/style_test.toit
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ toit-doc-examples-test:
"fish-or-fowl": Style --color=0xffffff --background=0x606060,
}

/// Test a literal element tree can be constructed and get-element-by-id can be
/// used to find a named element.
/// Test a literal element tree can be constructed and
/// $Element.get-element-by-id can be used to find a named element.
element-tree-test:
elements := Div [
Square --id="first-square",
Expand All @@ -53,8 +53,8 @@ element-tree-test:
first := elements.get-element-by-id "first-square"
expect first.id == "first-square"

/// Test that we can use set-styles to distribute the styles to all the
/// elements.
/// Test that we can use $Element.set-styles to distribute the styles to all
/// the elements.
combine-test:
elements := Div [
Div --id="special" [
Expand Down
2 changes: 1 addition & 1 deletion tests/toit-png-tools

0 comments on commit 5f87961

Please sign in to comment.