diff --git a/libc3/buf_inspect.c b/libc3/buf_inspect.c
index 5ff7df1..94bf009 100644
--- a/libc3/buf_inspect.c
+++ b/libc3/buf_inspect.c
@@ -560,7 +560,7 @@ sw buf_inspect_fn (s_buf *buf, const s_fn *fn)
result += r;
fn = fn->next_clause;
}
- if ((r = buf_write_1(buf, "}\n")) < 0)
+ if ((r = buf_write_1(buf, "}")) < 0)
return r;
result += r;
}
@@ -749,7 +749,7 @@ sw buf_inspect_fn_size (const s_fn *fn)
result += r;
fn = fn->next_clause;
}
- r = strlen("}\n");
+ r = strlen("}");
result += r;
}
else {
diff --git a/test/ic3/fn.out.expected b/test/ic3/fn.out.expected
index f812d11..5d4daf3 100644
--- a/test/ic3/fn.out.expected
+++ b/test/ic3/fn.out.expected
@@ -6,7 +6,6 @@ quote fn {
((x | _y)) { x }
(_) { :error }
}
-
fn (x) { x }
fn (x, _y) { x }
fn ((x | _y)) { x }
@@ -15,4 +14,3 @@ fn {
((x | _y)) { x }
(_) { :error }
}
-