Unified Diff: state/charm_test.go
Issue 87560043 :
errors: Improve tests, unify interfaces, wrapping (Closed)
Patch Set: errors: Improve tests, unify interfaces, wrapping
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
[revision details]
cmd/juju/common.go
cmd/juju/debuglog.go
cmd/juju/debuglog_test.go
cmd/juju/deploy_test.go
cmd/juju/destroyenvironment_test.go
cmd/juju/destroymachine_test.go
cmd/jujud/machine.go
cmd/jujud/machine_test.go
container/lxc/instance.go
environs/bootstrap/state.go
environs/bootstrap/synctools.go
environs/cloudinit.go
environs/cloudinit/cloudinit.go
environs/configstore/disk_test.go
environs/filestorage/filestorage.go
environs/filestorage/filestorage_test.go
environs/httpstorage/storage_test.go
environs/imagemetadata/generate.go
environs/jujutest/livetests.go
environs/jujutest/tests.go
environs/open.go
environs/open_test.go
environs/simplestreams/simplestreams.go
environs/sshstorage/storage.go
environs/sshstorage/storage_test.go
environs/tools/simplestreams.go
environs/tools/tools.go
environs/tools/tools_test.go
errors/errors.go
errors/errors_test.go
juju/api.go
juju/conn.go
juju/conn_test.go
provider/azure/certfile.go
provider/azure/instancetype.go
provider/azure/storage_test.go
provider/common/destroy_test.go
provider/ec2/storage.go
provider/joyent/storage.go
provider/joyent/storage_test.go
provider/local/instance.go
provider/maas/environ_whitebox_test.go
provider/maas/storage.go
provider/maas/storage_test.go
provider/openstack/storage.go
state/addmachine.go
state/annotator.go
state/api/agent/machine_test.go
state/api/client.go
state/api/machiner/machiner_test.go
state/api/params/apierror.go
state/api/provisioner/provisioner_test.go
state/api/uniter/relation.go
state/api/uniter/unit_test.go
state/api/upgrader/unitupgrader_test.go
state/api/upgrader/upgrader_test.go
state/apiserver/admin.go
state/apiserver/charmrevisionupdater/updater_test.go
state/apiserver/client/api_test.go
state/apiserver/client/client.go
state/apiserver/client/client_test.go
state/apiserver/client/destroy_test.go
state/apiserver/client/status.go
state/apiserver/common/errors.go
state/apiserver/common/errors_test.go
state/apiserver/deployer/deployer_test.go
state/apiserver/firewaller/firewaller_test.go
state/apiserver/keymanager/keymanager.go
state/apiserver/keyupdater/authorisedkeys.go
state/apiserver/machine/machiner.go
state/apiserver/provisioner/provisioner_test.go
state/apiserver/uniter/uniter.go
state/apiserver/uniter/uniter_test.go
state/apiserver/upgrader/unitupgrader_test.go
state/apiserver/upgrader/upgrader_test.go
state/apiserver/usermanager/usermanager.go
state/apiserver/usermanager/usermanager_test.go
state/charm_test.go
state/cleanup.go
state/cleanup_test.go
state/configvalidator_test.go
state/conn_test.go
state/environcapability_test.go
state/machine.go
state/machine_test.go
state/megawatcher.go
state/minimumunits.go
state/open.go
state/policy.go
state/prechecker_test.go
state/relation.go
state/relation_test.go
state/relationunit.go
state/relationunit_test.go
state/service.go
state/service_test.go
state/settings_test.go
state/state.go
state/state_test.go
state/tools_test.go
state/unit.go
state/unit_test.go
state/watcher.go
utils/trivial.go
worker/deployer/deployer_test.go
worker/instancepoller/machine_test.go
worker/instancepoller/updater.go
worker/peergrouper/worker.go
worker/provisioner/kvm-broker_test.go
worker/provisioner/lxc-broker_test.go
worker/provisioner/provisioner.go
worker/provisioner/provisioner_test.go
worker/uniter/charm/bundles.go
worker/uniter/relation/relation.go
worker/uniter/relationer_test.go
worker/uniter/state.go
worker/uniter/uniter_test.go
worker/upgrader/upgrader_test.go
Index: state/charm_test.go
=== modified file 'state/charm_test.go'
--- state/charm_test.go 2014-03-13 07:54:56 +0000
+++ state/charm_test.go 2014-04-14 12:36:13 +0000
@@ -55,7 +55,7 @@
curl := charm.MustParseURL("local:anotherseries/dummy-1")
_, err := s.State.Charm(curl)
c.Assert(err, gc.ErrorMatches, `charm "local:anotherseries/dummy-1" not found`)
- c.Assert(err, jc.Satisfies, errors.IsNotFoundError)
+ c.Assert(err, jc.Satisfies, errors.IsNotFound)
}
type CharmTestHelperSuite struct {