Skip to content

Commit 2b33a3a

Browse files
committed
fix: resolve linting issues
- Remove extra blank line in ndef.go (gci formatting) - Break long line in ndef_construction_test.go (line length limit) All linters now pass.
1 parent 24d638d commit 2b33a3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ndef.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ type NDEFRecord struct {
7575
Payload []byte
7676
}
7777

78-
7978
// BuildNDEFMessage creates NDEF data from text
8079
// Deprecated: Use BuildTextMessage or BuildNDEFMessageEx for more flexibility
8180
func BuildNDEFMessage(text string) ([]byte, error) {

ndef_construction_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ func TestParseNDEFMessageSecurity(t *testing.T) {
300300
!containsString(errStr, "security violation") &&
301301
!containsString(errStr, "invalid NDEF") &&
302302
!containsString(errStr, "no NDEF") {
303-
t.Errorf("ParseNDEFMessage() error type mismatch: got %q, expected to contain %q", errStr, expectedStr)
303+
t.Errorf("ParseNDEFMessage() error type mismatch: got %q, expected to contain %q",
304+
errStr, expectedStr)
304305
}
305306
}
306307
})

0 commit comments

Comments
 (0)