test/com/google/javascript/jscomp/ProcessClosurePrimitivesTest.java
// Tests that a require of additional code generates no error.
Tests that a require of additional code generates no error.
Tests that a require of additional code generates no error .
@Test
  public void testRequireOfAdditionalProvide() {
    additionalCode = "goog.provide('b.B'); b.B = {};";
    test("goog.require('b.B'); goog.provide('a.A'); a.A = {};",
         "/** @const */ var b={};b.B={}; /** @const */ var a={};a.A={};");
  }
@ Test public void testRequireOfAdditionalProvide ( ) { additionalCode = "goog.provide('b.B'); b.B = {};" ; test ( "goog.require('b.B'); goog.provide('a.A'); a.A = {};" , "/** @const */ var b={};b.B={}; /** @const */ var a={};a.A={};" ) ; }
Tests that a require of additional code generates no error.
Tests that a require of additional code generates no error .