summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/modifiers_test.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-08-02 18:24:24 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-08-02 18:24:24 +0200
commit5e00177fe0c35379c9e83da496d6527d932854ae (patch)
tree470a0f0348beb4c0cacb961ad4606e8808133d3f /dhcpv4/modifiers_test.go
parent4ceb1c8174876a7564bca419ab971cd63c10327f (diff)
OptUserClass: use only the flag as authoritative
Diffstat (limited to 'dhcpv4/modifiers_test.go')
-rw-r--r--dhcpv4/modifiers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/modifiers_test.go b/dhcpv4/modifiers_test.go
index 415a4ea..2e249ee 100644
--- a/dhcpv4/modifiers_test.go
+++ b/dhcpv4/modifiers_test.go
@@ -10,5 +10,5 @@ func TestUserClassModifier(t *testing.T) {
d, _ := New()
userClass := WithUserClass([]byte("linuxboot"))
d = userClass(d)
- require.Equal(t, "OptUserClass{userclass=[linuxboot]}", d.options[0].String())
-} \ No newline at end of file
+ require.Equal(t, "User Class Information -> linuxboot", d.options[0].String())
+}