fix: remove newline characters from greeting messages in seed data

This commit is contained in:
ngc2207 2024-11-22 12:04:17 +08:00
parent 965c36496f
commit b488d0143f

View File

@ -47,11 +47,11 @@ print(greet("Prisma"))`,
code: `#include <stdio.h>
void greet(char* name) {
printf("Hello, %s!\n", name);
printf("Hello, %s!", name);
}
int main() {
printf("Hello, World!\n");
printf("Hello, World!");
greet("Prisma");
return 0;
}`,
@ -95,7 +95,7 @@ class HelloWorld {
import "fmt"
func greet(name string) {
fmt.Printf("Hello, %s!\n", name)
fmt.Printf("Hello, %s!", name)
}
func main() {