Don't crash if suite is empty #46

Merged
merged 1 commit into from Nov 21, 2017

Conversation

Projects
None yet
2 participants
Contributor

zyga commented Nov 21, 2017

The unmarshaled suite can be nil in a following situation:

project: demo
path: /home/demo
suites:
tests/:

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

Don't crash if suite is empty
The unmarshaled suite can be nil in a following situation:

    project: demo
    path: /home/demo
    suites:
	tests/:

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

@niemeyer niemeyer merged commit 5c0ebb5 into snapcore:master Nov 21, 2017

@zyga zyga deleted the zyga:fix-empty-suite branch Nov 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment