Fix typos

This commit is contained in:
Dimitris Apostolou 2021-11-13 21:23:08 +02:00
commit f586d920f7
No known key found for this signature in database
GPG key ID: 4B5D20E938204A8A
24 changed files with 31 additions and 31 deletions

View file

@ -1,5 +1,5 @@
/* This interface checks whether SWIG supports the new double angled brackets
in the template syntax without having a space inbetween. This feature was
in the template syntax without having a space in between. This feature was
introduced in new C++11 standard.
*/
%module cpp11_template_double_brackets

View file

@ -47,7 +47,7 @@ void main() {
enforce(countUntil(vector[], i * 10) == i, "indexOf test failed, i: " ~ to!string(i));
}
enforce(countUntil(vector[], 42) == -1, "non-existant item indexOf test failed");
enforce(countUntil(vector[], 42) == -1, "non-existent item indexOf test failed");
vector.clear();
enforce(vector.length == 0, "clear test failed");

View file

@ -24,7 +24,7 @@ endfunction
test_global();
// Test assignement in enums
// Test assignment in enums
checkequal(kValue_get(), 4, "kValue");
exec("swigtest.quit", -1);

View file

@ -7,7 +7,7 @@
// Test truncating variables, constants, functions identifier names
%inline %{
// these identifier names wont be truncated
// these identifier names won't be truncated
int gvar_identifier_name = -1;
#define CONS_IDENTIFIER_NAME -11
int function_identifier_name() { return -21; };

View file

@ -15,8 +15,8 @@ import
set x [new_B]
A_hello $x
if [ catch { $x nonexistant } ] {
if [ catch { $x nonexistent } ] {
} else {
puts stderr "nonexistant method did not throw exception\n"
puts stderr "nonexistent method did not throw exception\n"
exit 1
}