1
0
Fork 0
mirror of https://github.com/laravel-ls/protocol.git synced 2026-06-16 03:54:56 +02:00

add tests

This commit is contained in:
Henrik Hautakoski 2026-03-01 22:57:28 +01:00
parent 5049160990
commit be37cd5a53
20 changed files with 755 additions and 1 deletions

View file

@ -6,7 +6,7 @@ import (
"github.com/laravel-ls/protocol"
)
func Test_IsLspRPCErrorCode(t *testing.T) {
func Test_Rpc_IsLspRPCErrorCode(t *testing.T) {
if protocol.IsLspRPCErrorCode(5000) {
t.Errorf("5000 is not a valid code, but function returned true")
}