{"id":37801724,"url":"https://github.com/thehungry-dev/asserting","last_synced_at":"2026-01-16T15:26:46.024Z","repository":{"id":57533520,"uuid":"280765458","full_name":"thehungry-dev/asserting","owner":"thehungry-dev","description":"Output verification library for asserting in go test","archived":false,"fork":false,"pushed_at":"2020-07-19T03:47:57.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-19T10:59:37.710Z","etag":null,"topics":["assert","assertions","go","golang","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thehungry-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-19T00:47:30.000Z","updated_at":"2020-07-19T04:04:18.000Z","dependencies_parsed_at":"2022-09-26T18:21:09.305Z","dependency_job_id":null,"html_url":"https://github.com/thehungry-dev/asserting","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/thehungry-dev/asserting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehungry-dev%2Fasserting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehungry-dev%2Fasserting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehungry-dev%2Fasserting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehungry-dev%2Fasserting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thehungry-dev","download_url":"https://codeload.github.com/thehungry-dev/asserting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehungry-dev%2Fasserting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assert","assertions","go","golang","testing"],"created_at":"2026-01-16T15:26:45.937Z","updated_at":"2026-01-16T15:26:46.015Z","avatar_url":"https://github.com/thehungry-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asserting\n\nOutput verification library for asserting in `go test`\n\n## Usage\n\n```go\npackage my_test\n\nimport (\n\t\"testing\"\n\n\t. \"github.com/Fire-Dragon-DoL/lab/asserting\"\n)\n\nfunc TestAssert(t *testing.T) {\n\tAssert(t, 1 == 1) // Test is successful\n}\n\nfunc TestAssertPanic(t *testing.T) {\n\tAssert.Panic(t, func() {\n\t\tpanic(\"A panic\")\n\t}) // Test is successful\n}\n\nfunc TestAssertPanicMsg(t *testing.T) {\n\tpanicFn := func() { panic(\"A panic\") }\n\tAssert.Panic(t, panicFn, func(msg interface{}) bool {\n\t\tprose, ok := msg.(string)\n\t\treturn ok \u0026\u0026 prose == \"A panic\"\n\t}) // Test is successful\n}\n\nfunc TestAssertDifferentPanicMsg(t *testing.T) {\n\tpanicFn := func() { panic(\"A panic\") }\n\tAssert.Panic(t, panicFn, func(msg interface{}) bool {\n\t\tprose, ok := msg.(string)\n\t\treturn ok \u0026\u0026 prose == \"Other panic\"\n\t}) // Test fails\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehungry-dev%2Fasserting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehungry-dev%2Fasserting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehungry-dev%2Fasserting/lists"}