Issue

When trying to test schemas with pantherlog, I get the following error message: 

 Error:      Not equal:
             expected: ""
             actual  : "Custom.SampleLog.V1"

             Diff:
             --- Expected
             +++ Actual
             @@ -1 +1 @@
             -
             +Custom.SampleLog.V1

Resolution

To resolve this issue: 

input: |
  1,staging
  2,production
$ pantherlog test schema.yml schema_tests.yml other_schema_tests.yml

Also see How can I write multiple pantherlog tests for a schema?

If you experience this error, but the symptom listed here does not apply to your use case, please contact the Panther Support team.

Cause

This can occur if your schema test includes multiple tests formatted incorrectly.