summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Vetter <g.bluehut@googlemail.com>2015-05-15 17:12:41 +0200
committerBryce Harrington <bryce@osg.samsung.com>2015-05-15 13:10:15 -0700
commitb409c919a28ffe9f72ec15156d91af0ab17a196e (patch)
tree4512fecce76d3078de5e795cad5470bdb9eb8bd6 /tests
parentscanner: simplify the getopt logic (diff)
downloadwayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar.gz
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar.bz2
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar.lz
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar.xz
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.tar.zst
wayland-b409c919a28ffe9f72ec15156d91af0ab17a196e.zip
remove trailing whitespaces
Remove trailing whitespaces because they are not needed and jumping to the end of al ine should do just that and not jump to the whitespace.
Diffstat (limited to 'tests')
-rw-r--r--tests/connection-test.c8
-rw-r--r--tests/list-test.c2
-rw-r--r--tests/os-wrappers-test.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/connection-test.c b/tests/connection-test.c
index d34e9a5..7947f08 100644
--- a/tests/connection-test.c
+++ b/tests/connection-test.c
@@ -223,7 +223,7 @@ expected_fail_marshal(int expected_error, const char *format, ...)
{
struct wl_closure *closure;
static const uint32_t opcode = 4444;
- static const struct wl_interface test_interface = {
+ static const struct wl_interface test_interface = {
.name = "test_object"
};
static struct wl_object sender = { 0 };
@@ -412,13 +412,13 @@ TEST(connection_demarshal)
msg[0] = 400200;
msg[1] = 12;
msg[2] = 0;
- demarshal(&data, "?s", msg, (void *) validate_demarshal_s);
+ demarshal(&data, "?s", msg, (void *) validate_demarshal_s);
release_marshal_data(&data);
}
static void
-marshal_demarshal(struct marshal_data *data,
+marshal_demarshal(struct marshal_data *data,
void (*func)(void), int size, const char *format, ...)
{
struct wl_closure *closure;
@@ -501,7 +501,7 @@ TEST(connection_marshal_alot)
int i;
setup_marshal_data(&data);
-
+
/* We iterate enough to make sure we wrap the circular buffers
* for both regular data an fds. */
diff --git a/tests/list-test.c b/tests/list-test.c
index 6058fe3..dfe09ac 100644
--- a/tests/list-test.c
+++ b/tests/list-test.c
@@ -103,7 +103,7 @@ validate_list(struct wl_list *list, int *reference, int length)
return 0;
i++;
}
-
+
if (i != length)
return 0;
diff --git a/tests/os-wrappers-test.c b/tests/os-wrappers-test.c
index e5cdac4..edc096c 100644
--- a/tests/os-wrappers-test.c
+++ b/tests/os-wrappers-test.c
@@ -225,7 +225,7 @@ setup_marshal_data(struct marshal_data *data)
}
static void
-marshal_demarshal(struct marshal_data *data,
+marshal_demarshal(struct marshal_data *data,
void (*func)(void), int size, const char *format, ...)
{
struct wl_closure *closure;