Skip to content

Commit fa74d4f

Browse files
committed
adjust hist tests after SavePrimitive update
1 parent a1de671 commit fa74d4f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hist/hist/test/test_MapCppName.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ TEST(TH1, MapCppNameTest)
4747
if (!gSystem->GetPathInfo(CFile.Data(), fs))
4848
FileSize = (Int_t)fs.fSize;
4949

50-
EXPECT_NEAR(FileSize, 5867, 200);
50+
EXPECT_NEAR(FileSize, 6350, 200);
5151

5252
gSystem->Unlink(CFile.Data());
5353
}

hist/hist/test/test_TH1_SaveAs.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct TestSaveAs {
126126
if (!infile) {
127127
return false;
128128
}
129-
constexpr Int_t NC = 29; // lines in C file (excl. empty and commented out lines)
129+
constexpr Int_t NC = 31; // lines in C file (excl. empty and commented out lines)
130130
Int_t idx = 0;
131131
TString ref[NC] = {"{",
132132
" TH1D *h__1 = new TH1D(\"h\", \"h_title\", 5, 0, 5);",
@@ -143,6 +143,8 @@ struct TestSaveAs {
143143
" h__1->SetBinError(5,2.7);",
144144
" h__1->SetBinError(6,4.7);",
145145
" h__1->SetEntries(7);",
146+
" h__1->SetFillColor(0);",
147+
" h__1->SetFillStyle(1001);",
146148
" h__1->SetLineColor(TColor::GetColor(\"#000099\"));",
147149
" h__1->GetXaxis()->SetLabelFont(42);",
148150
" h__1->GetXaxis()->SetTitleOffset(1);",

0 commit comments

Comments
 (0)