Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: 蓝宝石的傻话 <mickey_zzc@163.com>
  • Loading branch information
mickeyzzc committed Oct 12, 2023
1 parent d33929e commit 5fc87fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/options/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ func TestNodeFieldSelector(t *testing.T) {
Desc: "with node name",
Wanted: "",
},
{
Desc: "with node name",
Node: nil,
Wanted: "",
},
{
Desc: "empty node name",
Node: NodeType(
Expand Down

0 comments on commit 5fc87fa

Please sign in to comment.