test/com/google/javascript/jscomp/ProcessClosurePrimitivesTest.java
// Tests that a require not in additional code generates (only) one error.
Tests that a require not in additional code generates (only) one error.
Tests that a require not in additional code generates ( only ) one error .
@Test
  public void testMissingRequireWithAdditionalProvide() {
    additionalCode = "goog.provide('b.B'); b.B = {};";
    testError("goog.require('b.C'); goog.provide('a.A'); a.A = {};",
         MISSING_PROVIDE_ERROR);
  }
@ Test public void testMissingRequireWithAdditionalProvide ( ) { additionalCode = "goog.provide('b.B'); b.B = {};" ; testError ( "goog.require('b.C'); goog.provide('a.A'); a.A = {};" , MISSING_PROVIDE_ERROR ) ; }
Tests that a require not in additional code generates (only) one error.
Tests that a require not in additional code generates ( only ) one error .