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:
parent
5049160990
commit
be37cd5a53
20 changed files with 755 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue