{"id":13776250,"url":"https://github.com/bmizerany/assert","last_synced_at":"2025-04-04T16:16:15.681Z","repository":{"id":1199965,"uuid":"1107816","full_name":"bmizerany/assert","owner":"bmizerany","description":"Asserts to Go testing","archived":false,"fork":false,"pushed_at":"2018-06-16T14:01:51.000Z","size":32,"stargazers_count":140,"open_issues_count":6,"forks_count":39,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T02:08:58.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmizerany.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-24T02:05:49.000Z","updated_at":"2025-03-05T16:57:49.000Z","dependencies_parsed_at":"2022-08-16T12:35:06.432Z","dependency_job_id":null,"html_url":"https://github.com/bmizerany/assert","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmizerany%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmizerany%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmizerany%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmizerany%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmizerany","download_url":"https://codeload.github.com/bmizerany/assert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208183,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-03T18:00:20.619Z","updated_at":"2025-04-04T16:16:15.629Z","avatar_url":"https://github.com/bmizerany.png","language":"Go","funding_links":[],"categories":["Testing"],"sub_categories":["Advanced Console UIs","Middlewares"],"readme":"# NO LONGER MAINTAINED - Just use Go's testing package.\n\n# Assert (c) Blake Mizerany and Keith Rarick -- MIT LICENCE\n\n## Assertions for Go tests\n\n## Install\n\n    $ go get github.com/bmizerany/assert\n\n## Use\n\n**point.go**\n\n    package point\n\n    type Point struct {\n        x, y int\n    }\n\n**point_test.go**\n\n\n    package point\n\n    import (\n        \"testing\"\n        \"github.com/bmizerany/assert\"\n    )\n\n    func TestAsserts(t *testing.T) {\n        p1 := Point{1, 1}\n        p2 := Point{2, 1}\n\n        assert.Equal(t, p1, p2)\n    }\n\n**output**\n    $ go test\n     --- FAIL: TestAsserts (0.00 seconds)\n\t assert.go:15: /Users/flavio.barbosa/dev/stewie/src/point_test.go:12\n         assert.go:24: ! X: 1 != 2\n\t FAIL\n\n## Docs\n\n    http://github.com/bmizerany/assert\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmizerany%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmizerany%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmizerany%2Fassert/lists"}