Skip to content

refactor: remove inline nolint as much as possible#87

Merged
ninoseki merged 1 commit intomainfrom
remove-nolint
Sep 17, 2025
Merged

refactor: remove inline nolint as much as possible#87
ninoseki merged 1 commit intomainfrom
remove-nolint

Conversation

@ninoseki
Copy link
Collaborator

Remove inline nolint as much as possible

Comment on lines +1 to +14
#!/usr/bin/env bats

load test_helper

@test "search with limit" {
run bash -c "./dist/urlscan pro hostname example.com --limit 1 | jq -r '.results | length'"
assert_output 1
}

@test "search with limit & size" {
run bash -c "./dist/urlscan pro hostname example.com --limit 10 --size 5 | jq -r '.results | length'"
assert_output 10
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this for testing the change in api/hostname.go

@ninoseki ninoseki requested review from cdnsyseng and fw42 September 17, 2025 05:51
@ninoseki ninoseki merged commit 3ef2571 into main Sep 17, 2025
4 checks passed
@ninoseki ninoseki deleted the remove-nolint branch January 30, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants