Skip to content

Commit 0822d2f

Browse files
committed
Rename test for /mcp/compile-and-fix endpoint to /compile-and-fix
1 parent b52606b commit 0822d2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-mcp-server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ jobs:
8484
echo "Compilation successful!"
8585
echo "$RESPONSE" | jq || echo "$RESPONSE"
8686
87-
- name: Test /mcp/compile-and-fix endpoint
87+
- name: Test /compile-and-fix endpoint
8888
run: |
89-
echo "Testing /mcp/compile-and-fix endpoint..."
90-
RESPONSE=$(curl -s -S -f -X POST http://localhost:8000/mcp/compile-and-fix \
89+
echo "Testing /compile-and-fix endpoint..."
90+
RESPONSE=$(curl -s -S -f -X POST http://localhost:8000/compile-and-fix \
9191
-H "Content-Type: application/json" \
9292
-d '{
9393
"code": "[filename: Cargo.toml]\n[package]\nname = \"hello_world\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\n\n[filename: src/main.rs]\nfn main() {\n println!(\"Hello, World!\" // Missing closing parenthesis\n}",

0 commit comments

Comments
 (0)