Fix typos
This commit is contained in:
parent
ac9f819f6e
commit
f586d920f7
24 changed files with 31 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ endfunction
|
|||
test_global();
|
||||
|
||||
|
||||
// Test assignement in enums
|
||||
// Test assignment in enums
|
||||
checkequal(kValue_get(), 4, "kValue");
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
|
|
|
|||
|
|
@ -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; };
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue