aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-01-12 14:00:37 (GMT)
committerJosh Kropf <josh@slashdev.ca>2012-01-12 18:24:39 (GMT)
commit77076d5dca71ed31eeefcb0dd8c19c4e811807b8 (patch)
treef76c33bf5e569ecd55ad80ff40084822c8da878c
parent2727a3116586fed1ac46460d0f06581bbcb9b69c (diff)
downloadgedit-autotab-gedit3.zip
gedit-autotab-gedit3.tar.gz
gedit-autotab-gedit3.tar.bz2
Add another test case with mixed spaces and tabs.gedit3
-rw-r--r--tests/mixed.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/mixed.c b/tests/mixed.c
new file mode 100644
index 0000000..2a423a4
--- /dev/null
+++ b/tests/mixed.c
@@ -0,0 +1,11 @@
+/* This file uses a mix of tabs and spaces for indentation */
+
+int main(int argc, char **argv)
+{
+ printf("Hello world!\n");
+ if (argc >= 2) {
+ printf("Your first argument is %s\n",
+ argv[0]);
+ printf("\n");
+ }
+}