Skip to content

Commit

Permalink
use get_title() in ShellTestEnvironment.prototype.next_default_test_name
Browse files Browse the repository at this point in the history
  • Loading branch information
panva authored and Ms2ger committed Mar 2, 2023
1 parent c6b7fa7 commit 46e1750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/testharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
ShellTestEnvironment.prototype.next_default_test_name = function() {
var suffix = this.name_counter > 0 ? " " + this.name_counter : "";
this.name_counter++;
return "Untitled" + suffix;
return get_title() + suffix;
};

ShellTestEnvironment.prototype.on_new_harness_properties = function() {};
Expand Down

0 comments on commit 46e1750

Please sign in to comment.