Description
addFact("string_delete_test #6", function() {
var vstring = "Hello World!";
// Check that using an index beyond the size of the string will clamp to the string size
var res = string_delete(vstring, 100, 1);
assert_equals(res, "Hello World",
"string_delete( string local , real const , real const ), 'Hello World!' with the 100th char deleted should be 'Hello World'");
});
Expected Change
The assert should be "Hello World!" including the !
Script Name
BasicStringTestSuite
Fact/Assert Name
string_delete_test #6
How reliably does this issue happen?
Always