Two small PolyGerrit fixes
+ Specify whitespace parameter when fetching a diff. + Pass the correct var to Promise.all within gr-date-formatter_test.html Change-Id: Ife49a67639891adae7d99e735516b86e54132724
This commit is contained in:
		@@ -125,7 +125,7 @@ limitations under the License.
 | 
			
		||||
        getLoggedIn: sinon.stub().returns(loggedInPromise),
 | 
			
		||||
        getPreferences: sinon.stub().returns(preferencesPromise),
 | 
			
		||||
      });
 | 
			
		||||
      return Promise.all([loggedInPromise, preferences]);
 | 
			
		||||
      return Promise.all([loggedInPromise, preferencesPromise]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    suite('logged in', function() {
 | 
			
		||||
 
 | 
			
		||||
@@ -176,7 +176,8 @@
 | 
			
		||||
      var url = this._getDiffFetchURL(changeNum, patchNum, path);
 | 
			
		||||
      var params =  {
 | 
			
		||||
        context: 'ALL',
 | 
			
		||||
        intraline: null
 | 
			
		||||
        intraline: null,
 | 
			
		||||
        whitespace: 'IGNORE_NONE',
 | 
			
		||||
      };
 | 
			
		||||
      if (basePatchNum != PARENT_PATCH_NUM) {
 | 
			
		||||
        params.base = basePatchNum;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user