Added test that shows that nested scope inherits properly from cmdline, config, and env

Review Request #1865 - Created March 4, 2015 and submitted

Information
Eric Ayers
pants
zundel/test-options-middle-scoped
1201
8f365d4...
Reviewers
pants-reviews
benjyw, jsirois

Added test that shows that nested scope inherits properly from cmdline, config, and env.

I wrote this to test that https://rbcommons.com/s/twitter/r/1851/ did not break inheriting from a 'middle' scope, e.g. a config value set for 'compile' and 'DEFAULT' in compile.java -> compile -> DEFAULT still properly inherts from 'compile' when you request a value for 'compile.java'

It pleasantly surprised me that it didn't break those cases, but then I discovered that some other scenarios that didn't work the way I expected.

Eric Ayers
Benjy Weinberger
John Sirois
Eric Ayers
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Commit 7cf0417

Loading...