Skip to content

Commit

Permalink
tests: Add tab_ordering_properties_tab_index_edge_case test
Browse files Browse the repository at this point in the history
This test covers the edge case of MovieClip.tabIndex,
where setting it to a string at the start returns this string
instead of a numerical value.
  • Loading branch information
kjarosh authored and adrian17 committed Mar 26, 2024
1 parent 6c5ecf3 commit 3c19e39
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
asdf
asdf2
5
asdf3
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
this.tabIndex = "asdf";
trace(this.tabIndex);
this.tabIndex = "asdf2";
trace(this.tabIndex);
this.tabIndex = 5;
trace(this.tabIndex);
this.tabIndex = "asdf3";
trace(this.tabIndex);
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
num_ticks = 1
known_failure = true

0 comments on commit 3c19e39

Please sign in to comment.