solo-io / go-utils

golang utilities
Apache License 2.0
110 stars 18 forks source link

use BeEquivalentTo instead of Equal in ExpectEqualProtoMessages #281

Open joekelley opened 4 years ago

joekelley commented 4 years ago

replaces

    Expected
        <string>: "applic..."
    to equal       |
        <string>: "mesh:<..."

with

    Expected
        <string>: application_state:<installation_state:<install_namespace:"linkerd-ns" > status:<> metadata:<> registry_name:"hub-meshes" application_name:"linkerd2" > 
    to be equivalent to
        <string>: mesh:<status:<> metadata:<name:"istio-mesh" namespace:"test-install" resource_version:"2" > istio:<installation_namespace:"istio-system" version:"1.0.6" > > 

😤