diff --git a/tests/tc_ufcs_array_type_completion/expected_array_test.txt b/tests/tc_ufcs_array_type_completion/expected_array_test.txt index af8a65d..07206bd 100644 --- a/tests/tc_ufcs_array_type_completion/expected_array_test.txt +++ b/tests/tc_ufcs_array_type_completion/expected_array_test.txt @@ -1,6 +1,7 @@ identifiers alignof k -arrayStuff F +arrayStuff1 F +arrayStuff7 F doArray F dup k idup k diff --git a/tests/tc_ufcs_array_type_completion/file.d b/tests/tc_ufcs_array_type_completion/file.d index 1d8c6c6..64fa259 100644 --- a/tests/tc_ufcs_array_type_completion/file.d +++ b/tests/tc_ufcs_array_type_completion/file.d @@ -1,5 +1,13 @@ -void arrayStuff(int[] x) { } +void arrayStuff1(int[] x) { } +void arrayStuff2(long[] x) { } +void arrayStuff3(uint[] x) { } +void arrayStuff4(T)(T[] x) { } +void arrayStuff5(int[][] x) { } +void arrayStuff6(int*[] x) { } +void arrayStuff7(const(int)[] x) { } void doArray(int[] x, int[] y) { y. -} \ No newline at end of file + // TODO: arrayStuff4 isn't included yet, since we don't really process + // templates, but should be! +} diff --git a/tests/tc_ufcs_array_type_completion/run.sh b/tests/tc_ufcs_array_type_completion/run.sh index d8c6781..b4f9558 100755 --- a/tests/tc_ufcs_array_type_completion/run.sh +++ b/tests/tc_ufcs_array_type_completion/run.sh @@ -1,5 +1,5 @@ set -e set -u -../../bin/dcd-client $1 -c65 file.d > actual_array_test.txt +../../bin/dcd-client $1 -c259 file.d > actual_array_test.txt diff actual_array_test.txt expected_array_test.txt \ No newline at end of file diff --git a/tests/tc_ufcs_pointer_type_completion/expected_pointer_test.txt b/tests/tc_ufcs_pointer_type_completion/expected_pointer_test.txt index 1a42406..184e1b0 100644 --- a/tests/tc_ufcs_pointer_type_completion/expected_pointer_test.txt +++ b/tests/tc_ufcs_pointer_type_completion/expected_pointer_test.txt @@ -1,7 +1,8 @@ identifiers alignof k doIncrement F -increment F +increment1 F +increment7 F init k mangleof k max k diff --git a/tests/tc_ufcs_pointer_type_completion/file.d b/tests/tc_ufcs_pointer_type_completion/file.d index 704846f..f0a5bd1 100644 --- a/tests/tc_ufcs_pointer_type_completion/file.d +++ b/tests/tc_ufcs_pointer_type_completion/file.d @@ -1,5 +1,13 @@ -void increment(int* x) { } +void increment1(int* x) { } +void increment2(long* x) { } +void increment3(uint* x) { } +void increment4(T)(T* x) { } +void increment5(int** x) { } +void increment6(int[]* x) { } +void increment7(const(int)* x) { } void doIncrement(int* x, int* y) { y. + // TODO: increment4 isn't included yet, since we don't really process + // templates, but should be! } \ No newline at end of file diff --git a/tests/tc_ufcs_pointer_type_completion/run.sh b/tests/tc_ufcs_pointer_type_completion/run.sh index f0bd959..ff41fb2 100755 --- a/tests/tc_ufcs_pointer_type_completion/run.sh +++ b/tests/tc_ufcs_pointer_type_completion/run.sh @@ -1,5 +1,5 @@ set -e set -u -../../bin/dcd-client $1 -c65 file.d > actual_pointer_test.txt +../../bin/dcd-client $1 -c247 file.d > actual_pointer_test.txt diff actual_pointer_test.txt expected_pointer_test.txt \ No newline at end of file